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

Re: [Bug?] moving a directory and losing the contents

From: Julian Fitzell <julian_at_beta4.com>
Date: 2002-07-26 12:17:00 CEST

Philip Martin wrote:
> Julian Fitzell <julian@beta4.com> writes:
>
>
>>C:\Documents and Settings\Administrator\Desktop\test>svn mv docs trunk\
>>A trunk/docs
>>D docs/seaside/borges.html
>>D docs/seaside/renderer.html
>>D docs/seaside/index.html
>>D docs/seaside/intro.html
>>D docs/seaside
>>D docs
>>
>>
>>I end up with trunk/docs/ but nothing inside it. Is this by design,
>>limitation or error?
>
>
> Although the mv command only prints a single 'A' for the new directory
> it is a copy of the old directory including its contents. If you run
>
> svn st trunk
>
> you should see something like
>
> A + trunk/docs
>
> Note the '+' for copy with history. Have you looked inside the new
> trunk/docs? Is it really empty? The mv command seems to work when I
> try it.
>
> Perhaps the feedback for copy/mv should print
>
> A + some/dir
>
> instead of
>
> A some/dir
>

Well... now it's *my* turn to be embarassed :) I swear I looked in that
directory and it was empty but it isn't now... But yeah the output was
a little confusing.

Now if only my build issues were so simply solved...

Julian

-- 
julian@beta4.com
Beta4 Productions (http://www.beta4.com)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 26 12:21:21 2002

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

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