equal
deleted
inserted
replaced
60 except ValueError: |
60 except ValueError: |
61 raise util.Abort('svn: revision %s is not an integer' % rev) |
61 raise util.Abort('svn: revision %s is not an integer' % rev) |
62 try: |
62 try: |
63 # Support file://path@rev syntax. Useful e.g. to convert |
63 # Support file://path@rev syntax. Useful e.g. to convert |
64 # deleted branches. |
64 # deleted branches. |
65 url, latest = url.rsplit("@", 1) |
65 at = url.rfind('@') |
66 latest = int(latest) |
66 if at >= 0: |
|
67 latest = int(url[at+1:]) |
|
68 url = url[:at] |
67 except ValueError, e: |
69 except ValueError, e: |
68 pass |
70 pass |
69 self.url = url |
71 self.url = url |
70 self.encoding = 'UTF-8' # Subversion is always nominal UTF-8 |
72 self.encoding = 'UTF-8' # Subversion is always nominal UTF-8 |
71 try: |
73 try: |