Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 4937:53a1847a99d1
Simplify update.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 18 Jul 2007 14:00:55 -0700 |
parents | bcba70b8006d |
children | 9af1b47fe585 90be978c9d3d |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Jul 18 13:56:08 2007 -0700 +++ b/mercurial/commands.py Wed Jul 18 14:00:55 2007 -0700 @@ -2033,7 +2033,7 @@ return if optupdate: if modheads == 1: - return hg.update(repo, repo.changelog.tip()) # update + return hg.update(repo, None) else: ui.status(_("not updating, since new heads added\n")) if modheads > 1: