##// END OF EJS Templates
dirstate: use `dirstate.change_files` to scope the change in `gpg`...
marmoute -
r50932:46883d91 default
parent child Browse files
Show More
@@ -352,7 +352,8 b' def _dosign(ui, repo, *revs, **opts):'
352 352 sigsfile.close()
353 353
354 354 if b'.hgsigs' not in repo.dirstate:
355 repo[None].add([b".hgsigs"])
355 with repo.dirstate.changing_files(repo):
356 repo[None].add([b".hgsigs"])
356 357
357 358 if opts[b"no_commit"]:
358 359 return
General Comments 0
You need to be logged in to leave comments. Login now