Minor Feature Suggestion: option for 'backwards' changes
From: Rob Hubbard <Rob.Hubbard_at_celoxica.com>
Date: 2006-10-18 14:52:47 CEST
Hello,
I was very glad to see the "-c" / "--change" option added for "diff" / "merge" in SVN 1.4. That's very convenient.
Could we also have a 'reversed' version of that? Where "-c N" is short for "-r N-1:N", perhaps "--unchange N" could be short for "-r N:N-1". That would be useful, for example, for undoing a revision: "svn merge --unchange 1000" to 'unmerge' the changes in revision 1000.
Obviously, having a single-letter option would also be helpful, but I'm not sure which letters are both suitable and still available. So, it could have been "-u" and "--unchange", except that "diff" now uses "-u".
Alternatively, perhaps something like "-b" and "--backwards", where the 'from' and 'to' revision numbers are swapped, might be more flexible. Then "-bc N" or "--backwards --change N" could be used to express a 'backwards change', and more generally "-br N:M" would be the same as "-r M:N".
The "--backwards" option could be available on other svn subcommands, e.g. "svn log -b".
Thanks,
_____________________________________________________________________
This email and any files transmitted with it are confidential and
---------------------------------------------------------------------
|
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.