##// END OF EJS Templates
unshelve: create a matcher only if required on creating unshelve ctx...
Navaneeth Suresh -
r42888:d5cdce3d default
parent child Browse files
Show More
@@ -836,8 +836,8 b' def _createunshelvectx(ui, repo, shelvec'
836 836 snode = repo.commit(text=shelvectx.description(),
837 837 extra=shelvectx.extra(),
838 838 user=shelvectx.user())
839 m = scmutil.matchfiles(repo, repo[snode].files())
840 839 if snode:
840 m = scmutil.matchfiles(repo, repo[snode].files())
841 841 _shelvecreatedcommit(repo, snode, basename, m)
842 842
843 843 return newnode, bool(snode)
General Comments 0
You need to be logged in to leave comments. Login now