changeset 188:853bb1f34023

Check for unfinished operations also before restoring timestamps
author Franz Glasner <hg@dom66.de>
date Thu, 13 Sep 2018 09:11:30 +0200
parents 076b070345c3
children b5fc241c706d
files extensions/timestamps.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/extensions/timestamps.py	Wed Sep 12 22:54:24 2018 +0200
+++ b/extensions/timestamps.py	Thu Sep 13 09:11:30 2018 +0200
@@ -168,6 +168,7 @@
                        tsconfig=None):
     if not repo.local():
         raise error.Abort(_("repository is not local"))
+    cmdutil.checkunfinished(repo)
     cmdutil.bailifchanged(repo)
     matcher = gen_matcher(repo, ctx, tsconfig=tsconfig)
     if matcher is None: