--- a/mercurial/hg.py Fri Aug 26 02:03:35 2005 -0700
+++ b/mercurial/hg.py Fri Aug 26 13:06:58 2005 +0200
@@ -360,7 +360,7 @@
if not self.dirty:
self.dirty = 1
- def setparents(self, p1, p2 = nullid):
+ def setparents(self, p1, p2=nullid):
self.markdirty()
self.pl = p1, p2
@@ -480,7 +480,7 @@
bs += 1
return ret
- def walk(self, files = None, match = util.always, dc=None):
+ def walk(self, files=None, match=util.always, dc=None):
self.read()
# walk all files by default
@@ -816,7 +816,7 @@
else:
self.ui.warn("no undo information available\n")
- def lock(self, wait = 1):
+ def lock(self, wait=1):
try:
return lock.lock(self.join("lock"), 0)
except lock.LockHeld, inst:
@@ -911,7 +911,7 @@
else:
self.ui.warn("%s not tracked!\n" % f)
else:
- (c, a, d, u) = self.changes(match = match)
+ (c, a, d, u) = self.changes(match=match)
commit = c + a
remove = d
@@ -1018,7 +1018,7 @@
return None
return n
- def walk(self, node = None, files = [], match = util.always):
+ def walk(self, node=None, files=[], match=util.always):
if node:
for fn in self.manifest.read(self.changelog.read(node)[0]):
if match(fn): yield 'm', fn