You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ivan Zhakov <ch...@gmail.com> on 2006/08/09 15:23:34 UTC

Make --force always switched on for svn move command (was Re: [PATCH] Moving/copying added files and dirs)

On 8/9/06, Ivan Zhakov <ch...@gmail.com> wrote:
> On 8/9/06, Paul Burba <pa...@softlanding.com> wrote:
> > Notice none of the unversioned children of H get moved, while only A\D\I
> > gets copied.
> >
> > Also, a related oddity: While svn copy normally copies these first
> > generation unversioned children, svn move requires you to use --force and
> > then it *deletes* all the unversioned items in the source and does *not*
> > copy any of them...so much for "this subcommand is equivalent to a 'copy'
> > and 'delete'."
> >
> You are not right, they copied, but doesn't displayed in svn st -v.
> Just check directory D_move\I by hand.
>
>
BTW, is anybody know reasons why we forbidd move directories with
unversioned files without --force option? I consider we should allow
this, because we are copying *all* files including unversioned at new
location. Might be we don't need treat this situation as dangerous and
perform operation without user attention?

-- 
Ivan Zhakov

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Make --force always switched on for svn move command (was Re: [PATCH] Moving/copying added files and dirs)

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 8/9/06, Ivan Zhakov <ch...@gmail.com> wrote:
> On 8/9/06, Ivan Zhakov <ch...@gmail.com> wrote:
> > On 8/9/06, Paul Burba <pa...@softlanding.com> wrote:
> > > Notice none of the unversioned children of H get moved, while only A\D\I
> > > gets copied.
> > >
> > > Also, a related oddity: While svn copy normally copies these first
> > > generation unversioned children, svn move requires you to use --force and
> > > then it *deletes* all the unversioned items in the source and does *not*
> > > copy any of them...so much for "this subcommand is equivalent to a 'copy'
> > > and 'delete'."
> > >
> > You are not right, they copied, but doesn't displayed in svn st -v.
> > Just check directory D_move\I by hand.
> >
> >
> BTW, is anybody know reasons why we forbidd move directories with
> unversioned files without --force option? I consider we should allow
> this, because we are copying *all* files including unversioned at new
> location. Might be we don't need treat this situation as dangerous and
> perform operation without user attention?

As long as we're always copying the unversioned files, that makes sense to me.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org