Fork me on GitHub

svn: possible to commit to 2 repositories?  Bottom

  • 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?
  • 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
  • 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 icon_razz

    Why do you want to do that?

    --
    - Mateo T. -
    Mis principios... son mis fines
  • 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.
  • 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?
  • 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 icon_wink SVN merge is the tool that i use to sync the ported themes to the BlankTheme trunk icon_cool

    --
    - Mateo T. -
    Mis principios... son mis fines
  • I'm beginning to see. thanks for the help.
  • turns out I was looking for the merge tool. thanks mateo.
  • You're welcome Craig icon_wink

    --
    - Mateo T. -
    Mis principios... son mis fines

This list is based on users active over the last 60 minutes.