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

Copy from a WC will include deleted files?

From: Ian Sullivan <isullivan_at_gmail.com>
Date: 2006-05-06 02:27:47 CEST

I deleted a file from my WC, then copied the WC to a tag and the tag
contained the deleted file...

Is this correct behavior...

I can see from the logs that when I did the copy svn checked the
revision number of my WC and used that revision for the copy.

I know that if I modify files in my WC or add files, those files will
wind up in the tag, even if the WC isn't updated to the revision that
contains the changes.

K:\svn_test\sub1>svn info
Path: .
URL: https://localhost:5150/svn/test/testing/trunk/sub1
Repository UUID: a0ed805a-73d8-0310-b6aa-88c1c10397f8
Revision: 559
Node Kind: directory
Schedule: normal
Last Changed Author: ian
Last Changed Rev: 548
Last Changed Date: 2005-07-28 12:22:06 -0700 (Thu, 28 Jul 2005)

K:\svn_test\sub1>dir
03/06/2006 04:05 PM 6 five.txt
06/10/2005 01:22 PM 6 four.txt
05/05/2006 04:29 PM 12 one.txt
06/10/2005 01:19 PM 6 three.txt
06/07/2005 04:19 PM 12 two.txt
K:\svn_test\sub1>svn del one.txt
D one.txt

K:\svn_test\sub1>svn ci -m"testing"
Deleting sub1\one.txt

Committed revision 563.

K:\svn_test\sub1>svn info
Path: .
URL: https://localhost:5150/svn/test/testing/trunk/sub1
Repository UUID: a0ed805a-73d8-0310-b6aa-88c1c10397f8
Revision: 559
Node Kind: directory
Schedule: normal
Last Changed Author: ian
Last Changed Rev: 548
Last Changed Date: 2005-07-28 12:22:06 -0700 (Thu, 28 Jul 2005)

K:\svn_test\sub1>svn copy -m"testing" .
https://localhost:5150/svn/test/tags/del_test2
Committed revision 564.

K:\svn_test\sub1>svn list https://localhost:5150/svn/test/tags/del_test2
five.txt
four.txt
one.txt
three.txt
two.txt

Client: 1.1.3(r12730)
Server: 1.1.4(r13838)

-Ian

--
Ian Sullivan
Conversagent, Inc.
Development Tools Lead, Perl Mangler, Javascript Tangler & Install Wrangler
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 6 02:28:50 2006

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

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