I'm pretty dumb about this, so be gentle.
is it possible to commit changes in a file to a trunk and a branch? how do I do that?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
svn: possible to commit to 2 repositories?
-
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
-
- Rank: Software Foundation
- Registered: Jul 21, 2001
- Last visit: May 31, 2010
- Posts: 624
Of the same repository? Assuming
/home/drak/core is a checkout of https://code.zikula.org/svn/core/ then I can make my changes and commit from the /home/drak/core, that will commit all changes down the tree. Is this what you mean? I don't recommend making separate checkouts for branches and so on, checkout the entire tree and work from that.
Drak
--
Zikula Lead Developer
Board Member of the Zikula Foundation
Follow me on twitter.com/zikuladrak -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
Have to do a commit for the trunk, then merge with branch, or if they are the same code (weird case), change trunk, copy+paste the changed files in the respective branch, and commit the whole tree
Why do you want to do that?
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
Quote
Why do you want to do that?
I have a just released version that is branched in SVN for bug fixes. I want to apply bug fixes to the branch and to the trunk so that both contain the fixes. -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
drak/mateo, thanks for trying to help. I'm still confused.
Is it not common to have a bugfix branch and a trunk for development? If so, how does one make sure bugfixes applied in a branch also get applied to the trunk?
I'm sure this is an issue in the core. how do you correct issues in /zikula-1 and /main at the same time? -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
THat's the headache:
Made the changes on both set of files...
anyways, you can Google for a SVN merge tutorial, commit your trunk then merge into the branch
SVN merge is the tool that i use to sync the ported themes to the BlankTheme trunk
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
-
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
-
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
- Moderated by:
- Support
