D1253: dirstate: avoid reading the map when possible (issue5713) (issue5717)

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Thu Oct 26 23:42:23 EDT 2017


mharbison72 added a comment.


  Try that again without the reformatting
  
    diff --git a/tests/test-static-http.t b/tests/test-static-http.t
    --- a/tests/test-static-http.t
    +++ b/tests/test-static-http.t
    @@ -221,34 +221,31 @@
       $ cat server.log | sed -n -e 's|.*GET \(/[^ ]*\).*|\1|p' | sort -u
       /.hg/bookmarks
       /.hg/bookmarks.current
    -  /.hg/cache/hgtagsfnodes1
       /.hg/requires
       /.hg/store/00changelog.i
       /.hg/store/00manifest.i
       /.hg/store/data/%7E2ehgsub.i
       /.hg/store/data/%7E2ehgsubstate.i
       /.hg/store/data/a.i
    +  /.hg/cache/hgtagsfnodes1 (glob)
       /notarepo/.hg/00changelog.i
       /notarepo/.hg/requires
       /remote-with-names/.hg/bookmarks
       /remote-with-names/.hg/bookmarks.current
    -  /remote-with-names/.hg/cache/branch2-served
    -  /remote-with-names/.hg/cache/hgtagsfnodes1
    -  /remote-with-names/.hg/cache/tags2-served
       /remote-with-names/.hg/localtags
       /remote-with-names/.hg/requires
       /remote-with-names/.hg/store/00changelog.i
       /remote-with-names/.hg/store/00manifest.i
       /remote-with-names/.hg/store/data/%7E2ehgtags.i
       /remote-with-names/.hg/store/data/foo.i
    +  /remote-with-names/.hg/cache/branch2-base (glob)
    +  /remote-with-names/.hg/cache/branch2-immutable (glob)
    +  /remote-with-names/.hg/cache/branch2-served (glob)
    +  /remote-with-names/.hg/cache/hgtagsfnodes1 (glob)
    +  /remote-with-names/.hg/cache/rbc-names-v1 (glob)
    +  /remote-with-names/.hg/cache/tags2-served (glob)
       /remote/.hg/bookmarks
       /remote/.hg/bookmarks.current
    -  /remote/.hg/cache/branch2-base
    -  /remote/.hg/cache/branch2-immutable
    -  /remote/.hg/cache/branch2-served
    -  /remote/.hg/cache/hgtagsfnodes1
    -  /remote/.hg/cache/rbc-names-v1
    -  /remote/.hg/cache/tags2-served
       /remote/.hg/localtags
       /remote/.hg/requires
       /remote/.hg/store/00changelog.i
    @@ -257,6 +254,12 @@
       /remote/.hg/store/data/%7E2ehgtags.i
       /remote/.hg/store/data/bar.i
       /remote/.hg/store/data/quux.i
    +  /remote/.hg/cache/branch2-base (glob)
    +  /remote/.hg/cache/branch2-immutable (glob)
    +  /remote/.hg/cache/branch2-served (glob)
    +  /remote/.hg/cache/hgtagsfnodes1 (glob)
    +  /remote/.hg/cache/rbc-names-v1 (glob)
    +  /remote/.hg/cache/tags2-served (glob)
       /remotempty/.hg/bookmarks
       /remotempty/.hg/bookmarks.current
       /remotempty/.hg/requires
    @@ -264,9 +267,9 @@
       /remotempty/.hg/store/00manifest.i
       /sub/.hg/bookmarks
       /sub/.hg/bookmarks.current
    -  /sub/.hg/cache/hgtagsfnodes1
       /sub/.hg/requires
       /sub/.hg/store/00changelog.i
       /sub/.hg/store/00manifest.i
       /sub/.hg/store/data/%7E2ehgtags.i
       /sub/.hg/store/data/test.i
    +  /sub/.hg/cache/hgtagsfnodes1 (glob)

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1253

To: durham, #hg-reviewers
Cc: mharbison72, mercurial-devel


More information about the Mercurial-devel mailing list