Stefan Küng <tortoisesvn@gmail.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
switch
> > back to the branch. That's a lot of work just to commit what I've got
to
> > 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
when
> > 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
commit
> > more than the desired change; but that can happen any number of ways
if
> > 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
be
> > wrong; you may have to complete the previously mentioned process).
There
> > could be a few other things added later to help resolve issues that
may
> > 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.
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Dec 19 22:20:39 2005