Feature Suggestions: Additional Revision Names UPDATED and COPIED
From: Rob Hubbard <Rob.Hubbard_at_celoxica.com>
Date: 2006-10-06 17:12:54 CEST
Hello,
SVN has names for certain revisions: "HEAD", "BASE", "COMMITTED" and "PREV" (by the way, I'm not shouting).
(1) UPDATED
It would be useful to be able to issue a command such as
That is, "UPDATED" would refer to the most recently committed revision of a given path, rather than globally in the repository. It would be the same as "COMMITTED" in a WC that is up to date.
For example, suppose
The command
The command
The "UPDATED" name should be usable with URLs in addition to paths (because it is not relative to "BASE").
I'm not sure whether a "UPREV" (meaning "UPDATED-1") would also be useful.
(2) COPIED
To determine when a branch was created, the command
If that revision was represented by "COPIED" (or "CREATED" or something similar), then the command
This name would also provide an alternative to --stop-on-copy.
(I think having a name for the revision would be more useful than an option such as "--just-at-copy".)
In this case, I don't think a "CPREV" (meaning "COPIED-1") would be useful.
(On the other hand a way of revealing the "copied-from" information might be. In this case, there would need to be a way to refer to the copied path as well as the copied revision number, but I have not thought of a good way to express that.)
I'm not sure what the behaviour of "COPIED" should be when the path or URL was not copied. Perhaps "COPIED" should then be 0.
Thanks,
Rob.
_____________________________________________________________________
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.