Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hg.py @ 542:eda4c32c167a
Merge with upstream
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Merge with upstream
manifest hash: 78c3657547aa957be685a4d54462570eb4b5e181
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCxFpbW7P1GVgWeRoRAqWGAKCkLQPbZpdLCBWKD+pecMtTRiu9EACfbuz4
dtHuM/86dYZ6CRqQHohJVjk=
=v+Vv
-----END PGP SIGNATURE-----
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 30 Jun 2005 21:47:23 +0100 |
parents | 2f1de824798a aace5b681fe9 |
children | 4fc63e22b1fe |
line wrap: on
line diff
--- a/mercurial/hg.py Thu Jun 30 07:16:05 2005 +0100 +++ b/mercurial/hg.py Thu Jun 30 21:47:23 2005 +0100 @@ -1014,9 +1014,9 @@ if not f: break self.ui.debug("adding %s revisions\n" % f) fl = self.file(f) - o = fl.tip() + o = fl.count() n = fl.addgroup(getgroup(), revmap, tr) - revisions += fl.rev(n) - fl.rev(o) + revisions += fl.count() - o files += 1 self.ui.status(("modified %d files, added %d changesets" +