( )⚙ D3851 tests: pass "rev" argument to commands.update() as string

This is an archive of the discontinued Mercurial Phabricator instance.

tests: pass "rev" argument to commands.update() as string
ClosedPublic

Authored by martinvonz on Jun 28 2018, 1:13 AM.

Details

Summary

commands.update() normally gets its "rev" argument as a string, but
test-basic.t was passing an integer. That happened to work, but we
shouldn't rely on it.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Jun 28 2018, 1:13 AM
pulkit accepted this revision.Jun 28 2018, 5:42 AM
pulkit added inline comments.Jun 28 2018, 5:56 AM
tests/test-basic.t
67

Added a b'' prefix in flight for py3.

This revision was automatically updated to reflect the committed changes.