Cannot commit moved directory after adding (and committing) a child
From: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>
Date: Fri, 28 Aug 2009 17:14:34 +0200
I think I've seen this being discussed before (on the list or in the issue tracker), but can't find it again. So if anyone remembers, or can shed any light on this, I would very much appreciate it.
Following up on "tree changes that cause problems for wc-1 (and that I would like to verify if wc-ng will fix)", as in http://svn.haxx.se/users/archive-2009-08/0630.shtml, I saw some other strange behavior. I'm not sure whether this is a bug or "as designed":
Short description (recipe below):
Going further:
I guess the basic explanation is that this is caused by the mixed revision thing (i.e. the directory is a revision number behind, after committing the new file). So it thinks it is out of date, although it obviously isn't (also, "svn st -u" reports nothing, so it too thinks the directory is really up to date). I would consider this a bug.
------------
$ svn ci -m"test"
$ svn info dir
$ svn st -u
$ svn mv dir dir2
$ svn ci -m"dir move mixed rev"
$ svn up
$ svn st
$ svn resolve --accept=working dir
$ svn ci -m"dir move mixed rev"
Committed revision 96275.
$ svn log -v dir2/test.txt
dir move mixed rev
test
Regards,
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
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.