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

Re: [PATCH] Allow copy files that already copied

From: Ivan Zhakov <chemodax_at_gmail.com>
Date: 2005-12-02 11:46:35 CET

On 12/2/05, Peter N. Lundblad <peter@famlundblad.se> wrote:
> On Thu, 1 Dec 2005, Ivan Zhakov wrote:
>
> > Hi!
> > Current libsvn_wc implementation disallow command sequence like this:
> > touch foo
> > svn add foo
> > svn ci
> > svn cp foo foo2
> > svn cp foo2 foo3
> > svn ci
>
> I tried this patch, and copying a copyied file works fine. Moving a
> copied file, however, doesn't work unless --force is specified, because it
> thinks that the source of the move has local modifications. I wonder if
> that check should be changed in some way to allow this?
I didn't see reason for have "--force" option for move command,
because we didn't loose any change. We move changes to other place.
But this is separate question.

>
> Also, would you care to write some tests for this enhancement?
>
> I like the feature.
This patch only for idea proposal, as you see Ben against this
feature. Of course I create patch before commiting this change.

--
Ivan Zhakov
Received on Fri Dec 2 11:48:10 2005

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