Commits

Dan Villiom Podlaski Christiansen  committed 9ffa1da

understand 'tip' as meaning Subversion 'HEAD'

  • Participants
  • Parent commits 336f4bc
  • Branches stable

Comments (3)

Files changed (1)

File hgsubversion/util.py

     try:
         return int(r or 0)
     except ValueError:
-        if isinstance(r, str) and r.upper() == 'HEAD':
+        if isinstance(r, str) and r.lower() in ('head', 'tip'):
             return svnrepo.last_changed_rev
         else:
             # TODO: use error.RepoLookupError when we drop 1.3?