mercurial/cmdutil.py
changeset 17059 fba17a64fa49
parent 16937 5487088f0d43
parent 17049 2440822446ce
child 17180 ae0629161090
equal deleted inserted replaced
17058:d5422faf648c 17059:fba17a64fa49
  1299 
  1299 
  1300     wlock = repo.wlock()
  1300     wlock = repo.wlock()
  1301     try:
  1301     try:
  1302         # First, do a regular commit to record all changes in the working
  1302         # First, do a regular commit to record all changes in the working
  1303         # directory (if there are any)
  1303         # directory (if there are any)
  1304         node = commit(ui, repo, commitfunc, pats, opts)
  1304         ui.callhooks = False
       
  1305         try:
       
  1306             node = commit(ui, repo, commitfunc, pats, opts)
       
  1307         finally:
       
  1308             ui.callhooks = True
  1305         ctx = repo[node]
  1309         ctx = repo[node]
  1306 
  1310 
  1307         # Participating changesets:
  1311         # Participating changesets:
  1308         #
  1312         #
  1309         # node/ctx o - new (intermediate) commit that contains changes from
  1313         # node/ctx o - new (intermediate) commit that contains changes from