mercurial/hg.py
changeset 5237 fe55e3d6dc0b
parent 5236 cbe6e263357b
child 5239 76c4cadb49fc
equal deleted inserted replaced
5236:cbe6e263357b 5237:fe55e3d6dc0b
   223 
   223 
   224         if dest_lock:
   224         if dest_lock:
   225             dest_lock.release()
   225             dest_lock.release()
   226 
   226 
   227         if update:
   227         if update:
   228             try:
   228             if not checkout:
   229                 checkout = dest_repo.lookup("default")
   229                 try:
   230             except:
   230                     checkout = dest_repo.lookup("default")
   231                 checkout = dest_repo.changelog.tip()
   231                 except:
       
   232                     checkout = dest_repo.changelog.tip()
   232             _update(dest_repo, checkout)
   233             _update(dest_repo, checkout)
   233 
   234 
   234     return src_repo, dest_repo
   235     return src_repo, dest_repo
   235 
   236 
   236 def _showstats(repo, stats):
   237 def _showstats(repo, stats):