[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-07-26 11:50:18 CEST

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

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 26 11:50:57 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.