Patchwork [3,of,4] histedit-test: rename histedit-revspec into histedit-argument

login
register
mail settings
Submitter Pierre-Yves David
Date April 18, 2013, 2:14 p.m.
Message ID <a87a4fc0a11c51fcf7ec.1366294474@crater2.logilab.fr>
Download mbox | patch
Permalink /patch/1412/
State Accepted
Commit 85974024ffa3ae77263f167dac119f7561f9bac1
Headers show

Comments

Pierre-Yves David - April 18, 2013, 2:14 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@logilab.fr>
# Date 1366285129 -7200
#      Thu Apr 18 13:38:49 2013 +0200
# Node ID a87a4fc0a11c51fcf7ec7d67ddf4fec319217678
# Parent  22d808208ce3bc624055034c7552e3b9fdff47cc
histedit-test: rename histedit-revspec into histedit-argument

We have no testing for argument. This small file seems perfect once but needs a
rename.
Augie Fackler - April 18, 2013, 3:01 p.m.
On Thu, Apr 18, 2013 at 04:14:34PM +0200, pierre-yves.david@logilab.fr wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@logilab.fr>
> # Date 1366285129 -7200
> #      Thu Apr 18 13:38:49 2013 +0200
> # Node ID a87a4fc0a11c51fcf7ec7d67ddf4fec319217678
> # Parent  22d808208ce3bc624055034c7552e3b9fdff47cc
> histedit-test: rename histedit-revspec into histedit-argument

Queued first 3, thanks.

Patch

diff --git a/tests/test-histedit-revspec.t b/tests/test-histedit-arguments.t
rename from tests/test-histedit-revspec.t
rename to tests/test-histedit-arguments.t
--- a/tests/test-histedit-revspec.t
+++ b/tests/test-histedit-arguments.t
@@ -1,5 +1,8 @@ 
+Test argument handling and various data parsing
+==================================================
+
 
 Enable extensions used by this test.
   $ cat >>$HGRCPATH <<EOF
   > [extensions]
   > histedit=
@@ -37,10 +40,12 @@  Repo setup.
   o  0   6058cbb6cfd7   1970-01-01 00:00 +0000   test
        one
   
 
 Run a dummy edit to make sure we get tip^^ correctly via revsingle.
+--------------------------------------------------------------------
+
   $ HGEDITOR=cat hg histedit "tip^^"
   pick eb57da33312f 2 three
   pick c8e68270e35a 3 four
   pick 08d98a8350f3 4 five
   
@@ -54,10 +59,11 @@  Run a dummy edit to make sure we get tip
   #  m, mess = edit message without changing commit content
   #
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
 Run on a revision not ancestors of the current working directory.
+--------------------------------------------------------------------
 
   $ hg up 2
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg histedit -r 4
   abort: 08d98a8350f3 is not an ancestor of working directory