Enforcing usernames
Lasse Kliemann
lasse-list-mercurial-2009 at mail.plastictree.net
Wed May 27 05:29:12 CDT 2009
* Message by -Martin Geisler- from Wed 2009-05-27:
> > xrange(repo[node], len(repo))
> >
> > I took this from the acl extension.
>
> The xrange built-in function will give you an iterator:
>
> >>> for i in xrange(5, 10):
> ... print i
> ...
> 5
> 6
> 7
> 8
> 9
>
> In your code it will iterate over revision numbers from repo[node]
> (the revision number of the changeset that caused the hook to be
> called) until len(repo) (the total number of revisions, i.e., 'tip').
Ok, so this is guaranteed to capture every changeset of the
incoming changegroup? This is important here, since no incoming
changeset shall go unchecked.
> > BTW, I am still looking forward to help with the commitsigs
> > extension. I'll be quite busy for the next 1 1/2 weeks, however.
> > I'll get back to it after that.
>
> That's good to hear!
Yes, I did not forget it, just too busy otherwise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20090527/81186885/attachment.pgp
More information about the Mercurial
mailing list