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

login
register
mail settings
Submitter phabricator
Date June 28, 2018, 5:14 a.m.
Message ID <2aea274c89af005c825c55880174b18f@localhost.localdomain>
Download mbox | patch
Permalink /patch/32473/
State Not Applicable
Headers show

Comments

phabricator - June 28, 2018, 5:14 a.m.
martinvonz updated this revision to Diff 9332.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3851?vs=9330&id=9332

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

AFFECTED FILES
  tests/test-basic.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-basic.t b/tests/test-basic.t
--- a/tests/test-basic.t
+++ b/tests/test-basic.t
@@ -64,7 +64,7 @@ 
   > from mercurial import ui, hg, commands
   > myui = ui.ui.load()
   > repo = hg.repository(myui, path=b'.')
-  > commands.update(myui, repo, rev=0)
+  > commands.update(myui, repo, rev="0")
   > EOF
   $ hg up null
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved