mercurial/cmdutil.py
branchstable
changeset 17049 2440822446ce
parent 16678 48b1674ac1e7
child 17059 fba17a64fa49
equal deleted inserted replaced
17048:15d4d475de9e 17049:2440822446ce
  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