obsolete: remove unused code from reposetup()
authorPatrick Mezard <patrick@mezard.eu>
Fri, 22 Jun 2012 19:32:18 +0200
changeset 301 b41ff69388a8
parent 300 3b1f326878e5
child 302 d68ccae92d52
obsolete: remove unused code from reposetup()
hgext/obsolete.py
--- a/hgext/obsolete.py	Sat Jun 23 01:14:49 2012 +0200
+++ b/hgext/obsolete.py	Fri Jun 22 19:32:18 2012 +0200
@@ -991,13 +991,3 @@
             return c
 
     repo.__class__ = obsoletingrepo
-
-    if False:
-        expobs = [c.node() for c in repo.set('extinct() - secret()')]
-        if expobs: # do not lock in nothing move. locking for peanut make hgview reload on any command
-            lock = repo.lock()
-            try:
-                expobs = [c.node() for c in repo.set('extinct() - secret()')]
-                phases.retractboundary(repo, 2, expobs)
-            finally:
-                lock.release()