Show More
@@ -95,7 +95,7 b' def draw_edges(edges, nodeline, interlin' | |||
|
95 | 95 | else: |
|
96 | 96 | nodeline[2 * end] = "+" |
|
97 | 97 | if start > end: |
|
98 | (start, end) = (end,start) | |
|
98 | (start, end) = (end, start) | |
|
99 | 99 | for i in range(2 * start + 1, 2 * end): |
|
100 | 100 | if nodeline[i] != "+": |
|
101 | 101 | nodeline[i] = "-" |
@@ -1850,7 +1850,7 b' def prev(ui, repo, **opts):' | |||
|
1850 | 1850 | summary=opts.get('summary')) |
|
1851 | 1851 | |
|
1852 | 1852 | def setupheaderopts(ui, opts): |
|
1853 | def do(opt,val): | |
|
1853 | def do(opt, val): | |
|
1854 | 1854 | if not opts[opt] and opts['current' + opt]: |
|
1855 | 1855 | opts[opt] = val |
|
1856 | 1856 | do('user', ui.username()) |
@@ -160,7 +160,7 b' class bundlerepository(localrepo.localre' | |||
|
160 | 160 | localrepo.localrepository.__init__(self, ui, path) |
|
161 | 161 | except error.RepoError: |
|
162 | 162 | self._tempparent = tempfile.mkdtemp() |
|
163 | localrepo.instance(ui,self._tempparent,1) | |
|
163 | localrepo.instance(ui, self._tempparent, 1) | |
|
164 | 164 | localrepo.localrepository.__init__(self, ui, self._tempparent) |
|
165 | 165 | |
|
166 | 166 | if path: |
@@ -663,9 +663,9 b' def commit(ui, repo, *pats, **opts):' | |||
|
663 | 663 | ui.status(_('created new head\n')) |
|
664 | 664 | |
|
665 | 665 | if ui.debugflag: |
|
666 | ui.write(_('committed changeset %d:%s\n') % (rev,hex(node))) | |
|
666 | ui.write(_('committed changeset %d:%s\n') % (rev, hex(node))) | |
|
667 | 667 | elif ui.verbose: |
|
668 | ui.write(_('committed changeset %d:%s\n') % (rev,short(node))) | |
|
668 | ui.write(_('committed changeset %d:%s\n') % (rev, short(node))) | |
|
669 | 669 | |
|
670 | 670 | def copy(ui, repo, *pats, **opts): |
|
671 | 671 | """mark files as copied for the next commit |
@@ -26,7 +26,7 b' def lookup(repo, req):' | |||
|
26 | 26 | try: |
|
27 | 27 | r = hex(repo.lookup(req.form['key'][0])) |
|
28 | 28 | success = 1 |
|
29 | except Exception,inst: | |
|
29 | except Exception, inst: | |
|
30 | 30 | r = str(inst) |
|
31 | 31 | success = 0 |
|
32 | 32 | resp = "%s %s\n" % (success, r) |
@@ -339,7 +339,7 b' def tags(web, req, tmpl):' | |||
|
339 | 339 | i.reverse() |
|
340 | 340 | parity = paritygen(web.stripecount) |
|
341 | 341 | |
|
342 | def entries(notip=False,limit=0, **map): | |
|
342 | def entries(notip=False, limit=0, **map): | |
|
343 | 343 | count = 0 |
|
344 | 344 | for k, n in i: |
|
345 | 345 | if notip and k == "tip": |
@@ -59,7 +59,7 b' class sshserver(object):' | |||
|
59 | 59 | try: |
|
60 | 60 | r = hex(self.repo.lookup(key)) |
|
61 | 61 | success = 1 |
|
62 | except Exception,inst: | |
|
62 | except Exception, inst: | |
|
63 | 63 | r = str(inst) |
|
64 | 64 | success = 0 |
|
65 | 65 | self.respond("%s %s\n" % (success, r)) |
@@ -78,7 +78,7 b' def _verify(repo):' | |||
|
78 | 78 | msg = _("rev %d points to unexpected changeset %d") |
|
79 | 79 | err(None, msg % (i, lr), f) |
|
80 | 80 | if linkrevs: |
|
81 | warn(_(" (expected %s)") % " ".join(map(str,linkrevs))) | |
|
81 | warn(_(" (expected %s)") % " ".join(map(str, linkrevs))) | |
|
82 | 82 | lr = None # can't be trusted |
|
83 | 83 | |
|
84 | 84 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now