[PATCH 1 of 2] rust-dirstate: add helper to iterate ancestor paths

Raphaël Gomès raphael.gomes at octobus.net
Fri Jul 12 05:18:56 EDT 2019


I've rewritten the patch to apply on default. I'll rebase both of my 
series on it.

On 7/10/19 3:24 PM, Pulkit Goyal wrote:
>
>
> On Sun, Jun 30, 2019 at 2:16 PM Yuya Nishihara <yuya at tcha.org 
> <mailto:yuya at tcha.org>> wrote:
>
>     # HG changeset patch
>     # User Yuya Nishihara <yuya at tcha.org <mailto:yuya at tcha.org>>
>     # Date 1561887163 -32400
>     #      Sun Jun 30 18:32:43 2019 +0900
>     # Node ID 72ab74c704053b2212b874a902574fedadad4252
>     # Parent  904e0da2e195d2a29977ceccdd25480233c34d7a
>     rust-dirstate: add helper to iterate ancestor paths
>
>     This is modeled after std::path::Path::ancestors().
>
>     find_dirs(b"") yields b"" because Mercurial's util.finddirs()
>     works in that
>     way, and the test case for DirsMultiset expects such behavior.
>
>
> Queued this one, many thanks. The next one fails to apply on tip of 
> default.
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20190712/d53d1086/attachment.html>


More information about the Mercurial-devel mailing list