hgext/convert/subversion.py
changeset 5130 462cc56d898f
parent 5122 487659a90497
child 5132 78eb03cbe535
equal deleted inserted replaced
5129:eca5b31cffc7 5130:462cc56d898f
    76         latest = None
    76         latest = None
    77         if rev:
    77         if rev:
    78             try:
    78             try:
    79                 latest = int(rev)
    79                 latest = int(rev)
    80             except ValueError:
    80             except ValueError:
    81                 raise util.Abort('svn: revision %s is not an integer' % rev)
    81                 raise NoRepo('svn: revision %s is not an integer' % rev)
    82         try:
    82         try:
    83             # Support file://path@rev syntax. Useful e.g. to convert
    83             # Support file://path@rev syntax. Useful e.g. to convert
    84             # deleted branches.
    84             # deleted branches.
    85             at = url.rfind('@')
    85             at = url.rfind('@')
    86             if at >= 0:
    86             if at >= 0: