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

login
register
mail settings
Submitter phabricator
Date June 28, 2018, 9:59 a.m.
Message ID <f68dbfd78bb9e1127c0f9c2f791b740e@localhost.localdomain>
Download mbox | patch
Permalink /patch/32477/
State Not Applicable
Headers show

Comments

phabricator - June 28, 2018, 9:59 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGecaa0ad4ed4f: tests: pass &quot;rev&quot; argument to commands.update() as string (authored by martinvonz, committed by ).

CHANGED PRIOR TO COMMIT
  https://phab.mercurial-scm.org/D3851?vs=9332&id=9334#toc

REPOSITORY
  rHG Mercurial

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

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

AFFECTED FILES
  tests/test-basic.t

CHANGE DETAILS




To: martinvonz, #hg-reviewers, pulkit
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=b"0")
   > EOF
   $ hg up null
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved