changeset 392:04e67d6f1913

backout temporary fix for clone Now fixed into core
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Thu, 26 Jul 2012 15:09:08 +0200
parents 92adb5b34a04
children ac8213faeda8
files hgext/obsolete.py
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/obsolete.py	Thu Jul 26 13:42:12 2012 +0200
+++ b/hgext/obsolete.py	Thu Jul 26 15:09:08 2012 +0200
@@ -70,7 +70,6 @@
 from mercurial import commands
 from mercurial import changelog
 from mercurial import phases
-from mercurial import store
 from mercurial.node import hex, bin, short, nullid
 from mercurial.lock import release
 from mercurial import localrepo
@@ -84,18 +83,6 @@
     def storecache(*args):
         return scmutil.filecache(*args, instore=True)
 
-### temporary core fix
-#############################
-getattr(store, '_load', lambda:None)()
-if 'obsstore' not in vars(store)['_data']:
-    store._data = vars(store)['_data'] + ' obsstore'
-
-def wrapcopylist(orig, *args, **kwargs):
-    l = orig(*args, **kwargs)
-    if 'store/obsstore' not in l:
-        l.append('store/obsstore')
-    return l
-
 
 ### Patch changectx
 #############################