"move" shouldn't take a revision argument
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2004-10-12 01:47:31 CEST
Peter Hercek pointed out recently that "svn move" can take a revision argument. I see also that svn_client_move() does. That argument is meaningless. A WC move always acts on the working revision, and a repository move on the repository head revision. So...
"svn move" should stop accepting "-r".
"svn_client_move" should be deprecated and superceded by "svn_client_move2" which will be the same but without the revision parameter. The doc string of "svn_client_move" says:
* If @a src_path is a repository URL:
but that is wrong and should be changed to match the implementation, which is (for any type of src_path):
* @a src_revision has no useful effect but must be of kind
Does this all sound right?
- Julian
---------------------------------------------------------------------
|
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.