--- a/hgext/obsolete.py Tue Jul 10 01:05:13 2012 +0200
+++ b/hgext/obsolete.py Tue Jul 10 15:14:58 2012 +0200
@@ -730,31 +730,6 @@
newer.add(())
return sorted(newer)
-### obsolete relation storage
-#############################
-def add2set(d, key, mark):
- """add <mark> to a `set` in <d>[<key>]"""
- d.setdefault(key, []).append(mark)
-
-def markerid(marker):
- KEYS = ['subjects', "object", "date", "user", "reason"]
- for key in KEYS:
- assert key in marker
- keys = sorted(marker.keys())
- a = util.sha1()
- for key in keys:
- if key == 'subjects':
- for sub in sorted(marker[key]):
- a.update(sub)
- elif key == 'id':
- pass
- else:
- a.update(str(marker[key]))
- a.update('\0')
- return a.digest()
-
-
-
### repo subclassing
#############################