Hello everyone!
First I also want to wish everyone happy chrismas
and big, big thanks to the svn team for developing
this great tool!
Some minor (absolutely non-critical) issue I came over.
Maybe this was already discussed, and also the message
"try committing first" indicates that this behaviour
is intentional, but I couldn't find anything about it
in the FAQ or mailing lists.
You cannot move a moved file again without an intermediate
commit of a broken project state, see log below.
Is there a logical reason for this?
Somehow I would expect that svn commands
which operate on a wc should be associative
(-> "move a b; move b c" should be equivalent to "move a c";
"add a; move a b" should be equivalent "add b" etc.)
The practical aspect is that if you did a wrong move,
it is ugly to correct this mistake without checking in
a broken project state into the repository.
Another practical aspect for example is that you cannot
move a directory and then afterwards rename files within
this directory without an intermediate commit.
This is definitely no critical issue,
but a would-be-nice-to-have.
Cheers,
Folker
***
C:\temp\svntest\wc>svn --version
svn, version 0.34.0 (r7859)
compiled Dec 4 2003, 08:08:28
Copyright (C) 2000-2003 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' schema
- handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
- handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' schema
C:\temp\svntest>svnadmin create repo
C:\temp\svntest>svn checkout file:///temp/svntest/repo wc
Checked out revision 0.
C:\temp\svntest>cd wc
C:\temp\svntest\wc>echo test>test.txt
C:\temp\svntest\wc>svn add test.txt
A test.txt
C:\temp\svntest\wc>svn commit -m ""
Adding test.txt
Transmitting file data .
Committed revision 1.
C:\temp\svntest\wc>svn move test.txt test1.txt
A test1.txt
D test.txt
C:\temp\svntest\wc>svn move --force test1.txt test2.txt
svn: Trying to use an unsupported feature
svn: Cannot copy or move 'test1.txt': it's not in the repository yet; try commit
ting first
C:\temp\svntest\wc>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 26 16:41:58 2003