[PATCH 2 of 2] localrepo: comment that revs() is internal only

Sean Farley sean at farley.io
Sun Dec 20 13:03:28 CST 2015


Gregory Szorc <gregory.szorc at gmail.com> writes:

> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1450636340 28800
> #      Sun Dec 20 10:32:20 2015 -0800
> # Node ID 85666a6ed6c8403a50f1c851701aa2d2a3c79c6f
> # Parent  fd6eb3903a016edc748053a5aa42c74cefa6a7fb
> localrepo: comment that revs() is internal only
>
> I didn't realize repo.revs() was only appropriate for internal use.
> Add a comment to help prevent others from falling into this pit.

Looks good to me. I'd push it if I could :-)


More information about the Mercurial-devel mailing list