[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Feature Request: Dual-Commit

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-12-19 22:39:42 CET

Mark Phippard wrote:
>>> 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.

But you loose the history of the file.
Also: as a developer, it makes my stomach turn around to hear that
someone wants to commit a change to a branch without even having a
working copy of it! Think about it: no working copy means no testing at
all: you don't know if the change even compiles, or if it compiles if
the change will really work, ...
Yes, I heard the 'argument' a lot: the change is only in one file, and
it fixes the bug in trunk, and the change is only to the internals of
that file. But then I also often run into problems because my coworkers
did exactly that, but they didn't realize that the change just wasn't
that isolated as they thought.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Dec 19 23:21:27 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.