# status.
#
# git hg svn src
-# Unmodified ' ' 'C' ' ' '.'
+# Unmodified ' ' 'C' ' ' '='
# Renamed 'R' - - -
# Deleted 'D' 'R' 'D' -
# Copied 'C' - - -
"revisions": """
A 'revision' is a 1-origin integer, or a tag name designating an
integer revision, or a branch name designating the tip revision of its
-branch. Revision numbers always increase in commit-date order.
+branch, or '@' meaning the currently fetched revision. Revision
+numbers always increase in commit-date order.
A revision range is a single revision, or a pair of revisions M-N (all
revisions numerically from M to N) or M..N (all revisions that are
part = token
if type(part) == type(0):
return part
+ if token == '': # User specified @
+ return metadata.current().revno
if part not in metadata.symbols:
croak("in {0}, can't resolve symbol {1}".format(metadata.name,token))
else:
branch ancestors of N and branch successors of M).
If src complains that your revision spec looks like a nonexistent
-filename, you can prefix it with @ (this is always allowed).
+filename, you can prefix it with @ (this is always allowed). @ by
+itself means the current (checked-out) revision
Unless otherwise noted under individual commands, the default revision
is the tip revision on the current branch and the default range is all