mercurial/commands.py
changeset 18133 7f5a0eba3768
parent 18075 2c1fc483efa4
parent 18122 730b769fb634
child 18143 242d2f4ec01c
--- a/mercurial/commands.py	Mon Dec 24 02:49:59 2012 +0100
+++ b/mercurial/commands.py	Wed Dec 26 11:16:18 2012 -0600
@@ -4360,7 +4360,7 @@
 
     if not node and repo._bookmarkcurrent:
         bmheads = repo.bookmarkheads(repo._bookmarkcurrent)
-        curhead = repo[repo._bookmarkcurrent]
+        curhead = repo[repo._bookmarkcurrent].node()
         if len(bmheads) == 2:
             if curhead == bmheads[0]:
                 node = bmheads[1]