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

[BUG?] Strange behavior when moving a directory which has files added by another user

From: <makl_at_tigris.org>
Date: 2004-02-08 12:16:01 CET

G:\repos>svn --version
svn, version 0.37.0 (r8509)
    compiled Jan 25 2004, 22:51:07

G:\repos>svnadmin create \repos\test

G:\repos>svn co file:///g:/repos/test wc1
Checked out revision 0.

G:\repos>mkdir wc1\dir1

G:\repos>time /t >wc1\dir1\file1

G:\repos>svn add wc1\dir1
A wc1\dir1
A wc1\dir1\file1

G:\repos>svn ci -m "" wc1
Adding wc1\dir1
Adding wc1\dir1\file1
Transmitting file data .
Committed revision 1.

G:\repos>svn co file:///g:/repos/test wc2
A wc2\dir1
A wc2\dir1\file1
Checked out revision 1.

G:\repos>time /t >wc1\dir1\file2

G:\repos>svn add wc1\dir1\file2
A wc1\dir1\file2

G:\repos>svn ci -m "" wc1
Adding wc1\dir1\file2
Transmitting file data .
Committed revision 2.

G:\repos>svn move wc2\dir1 wc2\dir2
A wc2\dir2
D wc2\dir1\file1
D wc2\dir1

G:\repos>svn ci -m "" wc2
svn: Commit failed (details follow):
svn: Out of date: 'dir1' in transaction '4'
Deleting wc2\dir1

G:\repos>svn up wc2
A wc2\dir1\file2
Updated to revision 2.

G:\repos>svn ci -m "" wc2
Deleting wc2\dir1
Adding wc2\dir2
Adding wc2\dir2\file1

Committed revision 3.

G:\repos>svn co file:///g:/repos/test wc3
A wc3\dir2
A wc3\dir2\file1
Checked out revision 3.

G:\repos>dir /b wc3\dir2
file1

Where is file2 ??

G:\repos>svn -v log wc3
------------------------------------------------------------------------
r3 | mk | 2004-02-08 11:56:12 +0100 (Sun, 08 Feb 2004) | 1 line
Changed paths:
    D \dir1
    A \dir2 (from \dir1:1)

------------------------------------------------------------------------
r2 | mk | 2004-02-08 11:56:09 +0100 (Sun, 08 Feb 2004) | 1 line
Changed paths:
    A \dir1\file2

------------------------------------------------------------------------
r1 | mk | 2004-02-08 11:56:06 +0100 (Sun, 08 Feb 2004) | 1 line
Changed paths:
    A \dir1
    A \dir1\file1

------------------------------------------------------------------------

Lost in history

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 10 03:25:17 2004

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.