[temp] fix obsolete marker cloning broken in core.
--- a/hgext/obsolete.py Wed Jul 25 18:18:38 2012 +0200
+++ b/hgext/obsolete.py Thu Jul 26 11:44:05 2012 +0200
@@ -103,6 +103,7 @@
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
@@ -116,6 +117,18 @@
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
#############################