Mercurial > public > mercurial-scm > hg-stable
diff mercurial/merge.py @ 3578:3b4e00cba57a
Define and use nullrev (revision of nullid) instead of -1.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 29 Oct 2006 10:53:51 +0100 |
parents | 798bcde0c9c2 |
children | 41989e55fa37 |
line wrap: on
line diff
--- a/mercurial/merge.py Sat Oct 28 23:37:59 2006 -0300 +++ b/mercurial/merge.py Sun Oct 29 10:53:51 2006 +0100 @@ -34,7 +34,7 @@ fca = fcm.ancestor(fco) if not fca: - fca = repo.filectx(fw, fileid=-1) + fca = repo.filectx(fw, fileid=nullrev) a = repo.wjoin(fw) b = temp("base", fca) c = temp("other", fco)