Show More
@@ -280,7 +280,7 b' class svn_source(converter_source):' | |||||
280 | # Check if branches bring a few more heads to the list |
|
280 | # Check if branches bring a few more heads to the list | |
281 | if branches: |
|
281 | if branches: | |
282 | rpath = self.url.strip('/') |
|
282 | rpath = self.url.strip('/') | |
283 |
branchnames = svn.client.ls(rpath + '/' + urllib.quote(branches), |
|
283 | branchnames = svn.client.ls(rpath + '/' + urllib.quote(branches), | |
284 | rev, False, self.ctx) |
|
284 | rev, False, self.ctx) | |
285 | for branch in branchnames.keys(): |
|
285 | for branch in branchnames.keys(): | |
286 | module = '%s/%s/%s' % (oldmodule, branches, branch) |
|
286 | module = '%s/%s/%s' % (oldmodule, branches, branch) | |
@@ -325,7 +325,7 b' class svn_source(converter_source):' | |||||
325 | else: |
|
325 | else: | |
326 | # Perform a full checkout on roots |
|
326 | # Perform a full checkout on roots | |
327 | uuid, module, revnum = self.revsplit(rev) |
|
327 | uuid, module, revnum = self.revsplit(rev) | |
328 |
entries = svn.client.ls(self.baseurl + urllib.quote(module), |
|
328 | entries = svn.client.ls(self.baseurl + urllib.quote(module), | |
329 | optrev(revnum), True, self.ctx) |
|
329 | optrev(revnum), True, self.ctx) | |
330 | files = [n for n,e in entries.iteritems() |
|
330 | files = [n for n,e in entries.iteritems() | |
331 | if e.kind == svn.core.svn_node_file] |
|
331 | if e.kind == svn.core.svn_node_file] | |
@@ -874,7 +874,7 b' class svn_source(converter_source):' | |||||
874 | path = path.strip('/') |
|
874 | path = path.strip('/') | |
875 | pool = Pool() |
|
875 | pool = Pool() | |
876 | rpath = '/'.join([self.baseurl, urllib.quote(path)]).strip('/') |
|
876 | rpath = '/'.join([self.baseurl, urllib.quote(path)]).strip('/') | |
877 |
return ['%s/%s' % (path, x) for x in |
|
877 | return ['%s/%s' % (path, x) for x in | |
878 | svn.client.ls(rpath, optrev(revnum), True, self.ctx, pool).keys()] |
|
878 | svn.client.ls(rpath, optrev(revnum), True, self.ctx, pool).keys()] | |
879 |
|
879 | |||
880 | def getrelpath(self, path, module=None): |
|
880 | def getrelpath(self, path, module=None): |
@@ -270,7 +270,7 b' def bisect(ui, repo, rev=None, extra=Non' | |||||
270 | Once you have performed tests, mark the working directory as bad |
|
270 | Once you have performed tests, mark the working directory as bad | |
271 | or good and bisect will either update to another candidate changeset |
|
271 | or good and bisect will either update to another candidate changeset | |
272 | or announce that it has found the bad revision. |
|
272 | or announce that it has found the bad revision. | |
273 |
|
273 | |||
274 | As a shortcut, you can also use the revision argument to mark a |
|
274 | As a shortcut, you can also use the revision argument to mark a | |
275 | revision as good or bad without checking it out first. |
|
275 | revision as good or bad without checking it out first. | |
276 | """ |
|
276 | """ |
@@ -37,5 +37,5 b' def rsplit(s, sep=None, maxsplit=-1):' | |||||
37 | try: |
|
37 | try: | |
38 | return s.rsplit(sep, maxsplit) |
|
38 | return s.rsplit(sep, maxsplit) | |
39 | except AttributeError: |
|
39 | except AttributeError: | |
40 |
return [chunk[::-1] for chunk in |
|
40 | return [chunk[::-1] for chunk in | |
41 | s[::-1].split(sep, maxsplit)[::-1]] |
|
41 | s[::-1].split(sep, maxsplit)[::-1]] |
@@ -1,7 +1,7 b'' | |||||
1 | # this is hack to make sure no escape characters are inserted into the output |
|
1 | # this is hack to make sure no escape characters are inserted into the output | |
2 | import os; |
|
2 | import os; | |
3 | if 'TERM' in os.environ: |
|
3 | if 'TERM' in os.environ: | |
4 |
del os.environ['TERM'] |
|
4 | del os.environ['TERM'] | |
5 | import doctest |
|
5 | import doctest | |
6 |
|
6 | |||
7 | import mercurial.changelog |
|
7 | import mercurial.changelog |
General Comments 0
You need to be logged in to leave comments.
Login now