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

[Bug?] making a new subdir, moving files into it and then renaming the subdir, breaks history of the moved files

From: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>
Date: Tue, 25 Aug 2009 18:04:28 +0200

Hi all,

I'm looking for confirmation whether or not this is a bug (or maybe already a known issue). I've searched the bug database and mailinglists, but couldn't find anything exactly the same.

Here goes (assuming we're in a working copy with a versioned file a.txt):
$ svn mkdir subdir
A subdir

$ svn mv a.txt subdir/
A subdir\a.txt
D a.txt

$ svn st
A subdir
A + subdir\a.txt
D a.txt
# -> All still ok

$ svn mv subdir/ subdir2
A subdir2
A subdir2\a.txt
D subdir

$ svn st
A subdir2
A subdir2\a.txt
D a.txt
# -> subdir2\a.txt no longer has a historic relationship with a.txt.
# If we commit this, we effectively break the line of history of a.txt

Other variations of this scenario seems to work out better:
- If subdir already exists, the move of a file into it followed by the rename of subdir is no problem.

Is this a bug, or am I missing something?

Kind regards,


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-27 00:06:08 CEST

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.