diff -r 51b0e799352f -r fb42030d79d6 mercurial/copies.py --- a/mercurial/copies.py Thu Jun 26 14:35:50 2008 -0500 +++ b/mercurial/copies.py Thu Jun 26 14:35:50 2008 -0500 @@ -67,7 +67,7 @@ # - quit when interesting revs is zero cl = repo.changelog - working = cl.count() # pseudo rev for the working directory + working = len(cl) # pseudo rev for the working directory if a is None: a = working if b is None: