This is an archive of the discontinued Mercurial Phabricator instance.

hiddenoverride: add a test demonstrating a visibility issue
ClosedPublic

Authored by quark on Oct 9 2017, 8:22 PM.
Tags
None
Subscribers

Details

Summary

The last uncommit should make B invisible. This is from a user report.

Diff Detail

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

Event Timeline

quark created this revision.Oct 9 2017, 8:22 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptOct 9 2017, 8:22 PM
quark retitled this revision from hiddenoverride: add a test demonstrating an visibility issue to hiddenoverride: add a test demonstrating a visibility issue.Oct 19 2017, 1:38 PM
durham accepted this revision.Oct 31 2017, 12:21 PM
durham added a subscriber: durham.
durham added inline comments.
tests/test-fbamend-hiddenoverride.t
190

You are currently inside a repository. We should cd out before init'ing a new one

This revision is now accepted and ready to land.Oct 31 2017, 12:21 PM
quark added inline comments.Nov 1 2017, 2:39 PM
tests/test-fbamend-hiddenoverride.t
190

It uses $TESTTMP absolute path so we don't have to cd out. I found it pretty inconvenient for checking whether we need cd .. or not so I used $TESTTMP everywhere in my test code.

This revision was automatically updated to reflect the committed changes.