mercurial/localrepo.py
changeset 1551 e793cbc8be00
parent 1550 ccb9b62de892
child 1559 59b3639df0a9
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -613,7 +613,7 @@ class localrepository:
                 self.dirstate.update([dest], "a")
             self.dirstate.copy(source, dest)
 
-    def heads(self, start=nullid):
+    def heads(self, start=None):
         heads = self.changelog.heads(start)
         # sort the output in rev descending order
         heads = [(-self.changelog.rev(h), h) for h in heads]