changeset 301:b41ff69388a8

obsolete: remove unused code from reposetup()
author Patrick Mezard <patrick@mezard.eu>
date Fri, 22 Jun 2012 19:32:18 +0200
parents 3b1f326878e5
children d68ccae92d52
files hgext/obsolete.py
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- 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()