##// END OF EJS Templates
mq: use an unfiltered property cache for the queue object...
Pierre-Yves David -
r19395:19622224 default
parent child Browse files
Show More
@@ -65,6 +65,7 b' from mercurial.lock import release'
65 from mercurial import commands, cmdutil, hg, scmutil, util, revset
65 from mercurial import commands, cmdutil, hg, scmutil, util, revset
66 from mercurial import repair, extensions, error, phases
66 from mercurial import repair, extensions, error, phases
67 from mercurial import patch as patchmod
67 from mercurial import patch as patchmod
68 from mercurial import localrepo
68 import os, re, errno, shutil
69 import os, re, errno, shutil
69
70
70 commands.norepo += " qclone"
71 commands.norepo += " qclone"
@@ -3410,7 +3411,7 b' def mqphasedefaults(repo, roots):'
3410
3411
3411 def reposetup(ui, repo):
3412 def reposetup(ui, repo):
3412 class mqrepo(repo.__class__):
3413 class mqrepo(repo.__class__):
3413 @util.propertycache
3414 @localrepo.unfilteredpropertycache
3414 def mq(self):
3415 def mq(self):
3415 return queue(self.ui, self.baseui, self.path)
3416 return queue(self.ui, self.baseui, self.path)
3416
3417
General Comments 0
You need to be logged in to leave comments. Login now