[PATCH 1 of 9 V3] localrepo: add _encodetags method

Sean Farley sean.michael.farley at gmail.com
Tue Apr 1 19:26:23 CDT 2014


Matt Mackall <mpm at selenic.com> writes:

> On Fri, 2014-03-28 at 17:05 -0500, Sean Farley wrote:
>> # HG changeset patch
>> # User Sean Farley <sean.michael.farley at gmail.com>
>> # Date 1396036685 18000
>> #      Fri Mar 28 14:58:05 2014 -0500
>> # Node ID 9bab4721b0f6821f1f03d8a3eb9780dd14171000
>> # Parent  dfad9bb23ab49bd461544c1d5fab3318ab637d23
>> localrepo: add _encodetags method
>> 
>> This will be used in upcoming patches to help reduce code duplication.
>
> Do you know about the localstr magic used for branches?
>
> http://mercurial.selenic.com/wiki/EncodingStrategy#Round-trip_conversion

I did not. Though, I think I will go a different route and not muck
around with localrepo.


More information about the Mercurial-devel mailing list