Mercurial > public > mercurial-scm > hg
diff hgext/convert/subversion.py @ 5143:d4fa6bafc43a
Remove trailing spaces, fix indentation
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 07 Aug 2007 10:28:43 +0200 |
parents | bcf6ba3fcbe4 |
children | 07735e2d24cb |
line wrap: on
line diff
--- a/hgext/convert/subversion.py Tue Aug 07 10:28:14 2007 +0200 +++ b/hgext/convert/subversion.py Tue Aug 07 10:28:43 2007 +0200 @@ -67,8 +67,8 @@ for k, v in orig_paths.iteritems(): orig_paths[k] = changedpath(v) pickle.dump((orig_paths, revnum, author, date, message), - fp, protocol) - + fp, protocol) + try: # Use an ra of our own so that our parent can consume # our results without confusing the server. @@ -240,14 +240,14 @@ break raise SubversionException("child raised exception", entry) yield entry - + args = [self.url, paths, start, end, limit, discover_changed_paths, strict_node_history] arg = encodeargs(args) hgexe = util.hgexecutable() cmd = '"%s "debugsvnlog""' % util.shellquote(hgexe) stdin, stdout = os.popen2(cmd, 'b') - + stdin.write(arg) stdin.close() @@ -540,7 +540,7 @@ parents = [] orig_paths = orig_paths.items() orig_paths.sort() - + # check whether this revision is the start of a branch path, ent = orig_paths and orig_paths[0] or (None, None) if ent and path == self.module: