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

Re: Minor bug in svn mv?

From: François Beausoleil <fbeausoleil_at_ftml.net>
Date: 2004-10-18 19:09:45 CEST

kfogel@collab.net wrote:
> "Michael Abele" <michael.abele@aqcon.com> writes:
>
>>Svn creates a new folder "folder_1" but even after a commit the .svn
>>folder inside the directory does not have the system flag property.
>
>
> What is a "system flag property"?

In fact, it's probably the Hidden flag Michael's talking about. Here's
a repro recipe, Win32 only:

cd \
rd /s/q repos wc
cls
svn --version
svnadmin create repos
svn co file:///repos wc
cd wc
md dir1
echo >dir1\file1.txt
svn add dir1
svn ci -m "rev 1"
attrib dir1\.svn
svn mv dir1 dir2
svn ci -m "rev 2"
attrib dir2\.svn

Here's a sample run:

$ svn --version
svn, version 1.0.6 (r10360)
    compiled Jul 24 2004, 00:01:41

[snip]
$ svnadmin create repos

$ svn co file:///repos wc
Checked out revision 0.

$ cd wc

$ md dir1

$ echo 1>dir1\file1.txt

$ svn add dir1
A dir1
A dir1\file1.txt

$ svn ci -m "rev 1"
Adding dir1
Adding dir1\file1.txt
Transmitting file data .
Committed revision 1.

$ attrib dir1\.svn
     H E:\wc\dir1\.svn

$ svn mv dir1 dir2
A dir2
D dir1\file1.txt
D dir1

$ svn ci -m "rev 2"
Deleting dir1
Adding dir2

Committed revision 2.

$ attrib dir2\.svn
            E:\wc\dir2\.svn

Notice the difference between the attributes of dir1\.svn and dir2\.svn
- dir2\.svn does not have the Hidden flag set.

Hope that helps,
François

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 18 19:16:17 2004

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.