This is an archive of the discontinued Mercurial Phabricator instance.

tests: accept new hg output about local changesets being published
ClosedPublic

Authored by durin42 on Sep 13 2018, 11:02 AM.
Tags
None
Subscribers

Details

Summary

This allows

cd tests && python $CREW/tests/run-tests.py -j7 --extra-config-opt devel.all-warnings=no --blacklist=<(ls test*lfs*.t test*fastanno*.t) test*remotefilelog*.t

to pass when $CREW points to a clone of hg 4.7. IOW, the remotefilelog
functionality that Google cares about now works against 4.7. I'll work
on compatibility with tip next.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durin42 created this revision.Sep 13 2018, 11:02 AM
Herald added a reviewer: Restricted Project. · View Herald TranscriptSep 13 2018, 11:02 AM
indygreg added inline comments.
tests/test-remotefilelog-prefetch.t
156

The hgXY test capabilities are defined with modern versions of hghave.py. So this could be written as e.g (hg47 !) to make it conditional on >= 4.7.

quark accepted this revision.Sep 13 2018, 3:32 PM
This revision is now accepted and ready to land.Sep 13 2018, 3:32 PM
quark added a comment.Sep 13 2018, 3:38 PM

If backward compatibility is a concern, then there are way too many places that need change.

This revision was automatically updated to reflect the committed changes.