changeset 4919:53a1847a99d1

Simplify update.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 18 Jul 2007 14:00:55 -0700
parents bcba70b8006d
children 52772826e969
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2033,7 +2033,7 @@ def postincoming(ui, repo, modheads, opt
         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: