Brodie Rao avatar Brodie Rao committed f8af7c5

Refreshing queue

Comments (0)

Files changed (2)

          self.spath = self.store.path
          self.svfs = self.store.vfs
          self.sopener = self.svfs
-@@ -270,7 +274,9 @@ class localrepository(object):
+@@ -270,7 +274,7 @@ class localrepository(object):
          self.filteredrevcache = {}
  
      def close(self):
 -        pass
-+        self.wopener.close()
-+        self.opener.close()
 +        self.sopener.close()
  
      def _restrictcapabilities(self, caps):
  
  def canonpath(root, cwd, myname, auditor=None):
      '''return the canonical path of myname, given cwd and root'''
+diff --git a/mercurial/statichttprepo.py b/mercurial/statichttprepo.py
+--- a/mercurial/statichttprepo.py
++++ b/mercurial/statichttprepo.py
+@@ -155,6 +155,10 @@ class statichttprepository(localrepo.loc
+     def lock(self, wait=True):
+         raise util.Abort(_('cannot lock static-http repository'))
+ 
++    def close(self):
++        self.opener.close()
++        self.sopener.close()
++
+ def instance(ui, path, create):
+     if create:
+         raise util.Abort(_('cannot create new static-http repository'))
 diff --git a/mercurial/store.py b/mercurial/store.py
 --- a/mercurial/store.py
 +++ b/mercurial/store.py
+cache-fps
 chunked-revlog-cache
 bigger-revlog-cache
-cache-fps
 branch-cache-doc
 branches-reduce-reads
 branch-cache
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.