Mercurial > hg
comparison mercurial/obsolete.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
comparison
equal
deleted
inserted
replaced
51699:bd1483fd7088 | 51700:7f0cb9ee0534 |
---|---|
1036 toprocess.update(obsstore.predecessors.get(prec, ())) | 1036 toprocess.update(obsstore.predecessors.get(prec, ())) |
1037 return frozenset(divergent) | 1037 return frozenset(divergent) |
1038 | 1038 |
1039 | 1039 |
1040 def makefoldid(relation, user): | 1040 def makefoldid(relation, user): |
1041 | |
1041 folddigest = hashutil.sha1(user) | 1042 folddigest = hashutil.sha1(user) |
1042 for p in relation[0] + relation[1]: | 1043 for p in relation[0] + relation[1]: |
1043 folddigest.update(b'%d' % p.rev()) | 1044 folddigest.update(b'%d' % p.rev()) |
1044 folddigest.update(p.node()) | 1045 folddigest.update(p.node()) |
1045 # Since fold only has to compete against fold for the same successors, it | 1046 # Since fold only has to compete against fold for the same successors, it |