[PATCH] bundles: do not overwrite existing backup bundles

Siddharth Agarwal sid at less-broken.com
Fri Jan 9 19:45:17 CST 2015


On 01/09/2015 05:34 PM, Durham Goode wrote:
>
> On 1/9/15, 5:32 PM, "Siddharth Agarwal" <sid at less-broken.com> wrote:
>
>> On 01/09/2015 05:30 PM, Durham Goode wrote:
>>> +    allcommits = repo.set('%ls::%ls', hexbases, hexheads)
>>> +    allhash = util.sha1(''.join(c.hex() for c in
>>> allcommits)).hexdigest()
>> Doesn't this need to be sorted to be stable?
> I think technically no, since allcommits is revset instance and provides
> ordered iteration (I think).

repo.set is an unfortunate method name in that case.


More information about the Mercurial-devel mailing list