##// END OF EJS Templates
revset: translate node directly with changelog in 'head'...
Pierre-Yves David -
r25620:5f87f230 default
parent child Browse files
Show More
@@ -118,3 +118,9 b' roots((0:tip)::)'
118 # those two `roots(...)` inputs are close to what phase movement use.
118 # those two `roots(...)` inputs are close to what phase movement use.
119 roots((tip~100::) - (tip~100::tip))
119 roots((tip~100::) - (tip~100::tip))
120 roots((0::) - (0::tip))
120 roots((0::) - (0::tip))
121
122 # Testing the behavior of "head()" in various situations
123 head()
124 head() - public()
125 draft() and head()
126 head() and author("mpm")
@@ -1107,8 +1107,9 b' def head(repo, subset, x):'
1107 # i18n: "head" is a keyword
1107 # i18n: "head" is a keyword
1108 getargs(x, 0, 0, _("head takes no arguments"))
1108 getargs(x, 0, 0, _("head takes no arguments"))
1109 hs = set()
1109 hs = set()
1110 cl = repo.changelog
1110 for b, ls in repo.branchmap().iteritems():
1111 for b, ls in repo.branchmap().iteritems():
1111 hs.update(repo[h].rev() for h in ls)
1112 hs.update(cl.rev(h) for h in ls)
1112 # XXX using a set to feed the baseset is wrong. Sets are not ordered.
1113 # XXX using a set to feed the baseset is wrong. Sets are not ordered.
1113 # This does not break because of other fullreposet misbehavior.
1114 # This does not break because of other fullreposet misbehavior.
1114 # XXX We should not be using '.filter' here, but combines subset with '&'
1115 # XXX We should not be using '.filter' here, but combines subset with '&'
General Comments 0
You need to be logged in to leave comments. Login now