[PATCH] test-subrepo-git.t: portability fix

Dan Villiom Podlaski Christiansen danchr at gmail.com
Tue Nov 16 06:30:10 CST 2010


# HG changeset patch
# User Dan Villiom Podlaski Christiansen <danchr at gmail.com>
# Date 1289910575 -3600
# Node ID 3aee97341dceca8c21ea73cc260029ded8e2d11c
# Parent  876a931dd2305758dd36ae30c5cd03ac4633db8e
test-subrepo-git.t: portability fix.

Specifying arguments after file names for 'ls' is a GNU extension.

diff --git a/tests/test-subrepo-git.t b/tests/test-subrepo-git.t
--- a/tests/test-subrepo-git.t
+++ b/tests/test-subrepo-git.t
@@ -181,14 +181,14 @@ update to a revision without the subrepo
   $ cd ../t
   $ hg up 0
   0 files updated, 0 files merged, 2 files removed, 0 files unresolved
-  $ ls s -a
+  $ ls -a s
   .
   ..
   .git
 
   $ hg up 2
   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
-  $ ls s -a
+  $ ls -a s
   .
   ..
   .git


More information about the Mercurial-devel mailing list