equal
deleted
inserted
replaced
500 try: |
500 try: |
501 # record returns 0 even when nothing has changed |
501 # record returns 0 even when nothing has changed |
502 # therefore compare nodes before and after |
502 # therefore compare nodes before and after |
503 ctx = repo['.'] |
503 ctx = repo['.'] |
504 ret = orig(ui, repo, commitfunc, *pats, **opts) |
504 ret = orig(ui, repo, commitfunc, *pats, **opts) |
505 recctx = repo['.'] |
505 if ctx != repo['.']: |
506 if ctx != recctx: |
|
507 kwt.overwrite('.', True, None) |
506 kwt.overwrite('.', True, None) |
508 return ret |
507 return ret |
509 finally: |
508 finally: |
510 wlock.release() |
509 wlock.release() |
511 |
510 |