Stefan Küng <email@example.com> wrote on 12/19/2005 03:50:14 PM:
> Flanakin Michael C Ctr HQ OSSG/OMR wrote:
> > Occasionally, when I'm working on a fix in a branch, I want to commit
> > that fix to both the branch and the trunk. Currently, I have to commit
> > to branch, switch to trunk, merge the two, commit the trunk, and
> > back to the branch. That's a lot of work just to commit what I've got
> > two places. Granted, this only happens when I know that both files are
> > the same. Actually, in most of my cases, I tend to be in the trunk
> > I'm fixing it and commit just that change to the trunk and branch.
> > I know the prospective risk that is being taken is that one might
> > more than the desired change; but that can happen any number of ways
> > someone's not paying attention, so I don't think that's a very good
> > argument against this capability.
> > Anyway, what're the chances of adding something like this to TSvn? I
> > know there's nothing that Svn has like this, but it can be mocked up
> > pretty easily. For instance, have a checkbox and textbox to specify
> > whether to do a dual-commit as well as a secondary URL. Behind the
> > scenes, there are simply two commits that take place (actually, I may
> > wrong; you may have to complete the previously mentioned process).
> > could be a few other things added later to help resolve issues that
> > come up from this (i.e. compare and maybe only allow dual-commits for
> > files of the same repository version).
> Comments like "can be mocked up pretty easily" always make me feel bad.
> If it is that easy, why do you request the feature and don't implement
> it yourself and send a patch?
> That said: you haven't really thought about how Subversion works. What
> you're requesting isn't possible.
If you really only want to do it when the files are the same, then why not
do it with a script? It could do this:
svn commit trunk/foo
svn delete branch/foo
svn copy trunk/foo branch/foo
This would have the advantage of using less space in the repository, at
the price of 1 extra revision.
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Mon Dec 19 22:20:39 2005