This is an archive of the discontinued Mercurial Phabricator instance.

narrow: add test showing that local-to-local narrow clones don't work
ClosedPublic

Authored by durin42 on Sep 18 2018, 5:22 PM.

Details

Summary

It turns out they've never actually worked: prior to some recent
refactoring they just unintentionally followed the full-clone path,
which we unintentionally relied on in a test at Google.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Sep 18 2018, 5:22 PM
yuja added a subscriber: yuja.Sep 20 2018, 7:58 AM

+ $ rm -r narrow-via-localpeer
+ rm: narrow-via-localpeer: $ENOENT$
+ [1]

Changed this to rm -Rf and queued, thanks. It appears that GNU rm shows
friendlier message.

This revision was automatically updated to reflect the committed changes.