Show More
@@ -2627,13 +2627,10 def refresh(ui, repo, *pats, **opts): | |||||
2627 | q = repo.mq |
|
2627 | q = repo.mq | |
2628 | message = cmdutil.logmessage(ui, opts) |
|
2628 | message = cmdutil.logmessage(ui, opts) | |
2629 | setupheaderopts(ui, opts) |
|
2629 | setupheaderopts(ui, opts) | |
2630 |
w |
|
2630 | with repo.wlock(): | |
2631 | try: |
|
|||
2632 | ret = q.refresh(repo, pats, msg=message, **opts) |
|
2631 | ret = q.refresh(repo, pats, msg=message, **opts) | |
2633 | q.savedirty() |
|
2632 | q.savedirty() | |
2634 | return ret |
|
2633 | return ret | |
2635 | finally: |
|
|||
2636 | wlock.release() |
|
|||
2637 |
|
2634 | |||
2638 | @command("^qdiff", |
|
2635 | @command("^qdiff", | |
2639 | commands.diffopts + commands.diffopts2 + commands.walkopts, |
|
2636 | commands.diffopts + commands.diffopts2 + commands.walkopts, |
General Comments 0
You need to be logged in to leave comments.
Login now