##// 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 snode = repo.commit(text=shelvectx.description(),
836 snode = repo.commit(text=shelvectx.description(),
837 extra=shelvectx.extra(),
837 extra=shelvectx.extra(),
838 user=shelvectx.user())
838 user=shelvectx.user())
839 m = scmutil.matchfiles(repo, repo[snode].files())
840 if snode:
839 if snode:
840 m = scmutil.matchfiles(repo, repo[snode].files())
841 _shelvecreatedcommit(repo, snode, basename, m)
841 _shelvecreatedcommit(repo, snode, basename, m)
842
842
843 return newnode, bool(snode)
843 return newnode, bool(snode)
General Comments 0
You need to be logged in to leave comments. Login now