equal
deleted
inserted
replaced
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: |