mercurial/merge.py
changeset 3885 1e0b94cfba0e
parent 3881 c0a12e6441a5
child 3886 abaee83ce0a6
equal deleted inserted replaced
3881:c0a12e6441a5 3885:1e0b94cfba0e
   439     force = whether to force branch merging or file overwriting
   439     force = whether to force branch merging or file overwriting
   440     partial = a function to filter file lists (dirstate not updated)
   440     partial = a function to filter file lists (dirstate not updated)
   441     wlock = working dir lock, if already held
   441     wlock = working dir lock, if already held
   442     """
   442     """
   443 
   443 
       
   444     if node is None:
       
   445         node = "tip"
       
   446 
   444     if not wlock:
   447     if not wlock:
   445         wlock = repo.wlock()
   448         wlock = repo.wlock()
   446 
   449 
   447     overwrite = force and not branchmerge
   450     overwrite = force and not branchmerge
   448     forcemerge = force and branchmerge
   451     forcemerge = force and branchmerge