D7816: tests: stabilize test-subrepo-svn.t on Windows

2020-01-16 Thread mharbison72 (Matt Harbison)
Closed by commit rHGe598c874b4af: tests: stabilize test-subrepo-svn.t on 
Windows (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7816?vs=19269=19375

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7816/new/

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

AFFECTED FILES
  tests/test-subrepo-svn.t

CHANGE DETAILS

diff --git a/tests/test-subrepo-svn.t b/tests/test-subrepo-svn.t
--- a/tests/test-subrepo-svn.t
+++ b/tests/test-subrepo-svn.t
@@ -87,10 +87,12 @@
 
   $ hg debugsub
   path s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file:/*/svn-repo/src (glob) (windows !)
+   source   file:/*/$TESTTMP/svn-repo/src (glob) (no-windows !)
revision 2
   path subdir/s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file:/*/svn-repo/src (glob) (windows !)
+   source   file:/*/$TESTTMP/svn-repo/src (glob) (no-windows !)
revision 2
 
 change file in svn and hg, commit
@@ -113,10 +115,12 @@
   At revision 3.
   $ hg debugsub
   path s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file:/*/svn-repo/src (glob) (windows !)
+   source   file:/*/$TESTTMP/svn-repo/src (glob) (no-windows !)
revision 3
   path subdir/s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file:/*/svn-repo/src (glob) (windows !)
+   source   file:/*/$TESTTMP/svn-repo/src (glob) (no-windows !)
revision 2
 
 missing svn file, commit should fail
@@ -235,10 +239,12 @@
 
   $ hg debugsub
   path s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file:/*/svn-repo/src (glob) (windows !)
+   source   file:/*/$TESTTMP/svn-repo/src (glob) (no-windows !)
revision 3
   path subdir/s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file:/*/svn-repo/src (glob) (windows !)
+   source   file:/*/$TESTTMP/svn-repo/src (glob) (no-windows !)
revision 2
 
 verify subrepo is contained within the repo directory
@@ -574,8 +580,8 @@
 Test forgetting files, not implemented in svn subrepo, used to
 traceback
 
-  $ hg forget 'notafile*'
-  notafile*: $ENOENT$
+  $ hg forget 'notafile'
+  notafile: $ENOENT$
   [1]
 
 Test a subrepo referencing a just moved svn path. Last commit rev will



To: mharbison72, #hg-reviewers, pulkit
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D7816: tests: stabilize test-subrepo-svn.t on Windows

2020-01-14 Thread mharbison72 (Matt Harbison)
mharbison72 edited the summary of this revision.
mharbison72 updated this revision to Diff 19269.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7816?vs=19265=19269

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7816/new/

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

AFFECTED FILES
  tests/test-subrepo-svn.t

CHANGE DETAILS

diff --git a/tests/test-subrepo-svn.t b/tests/test-subrepo-svn.t
--- a/tests/test-subrepo-svn.t
+++ b/tests/test-subrepo-svn.t
@@ -87,10 +87,12 @@
 
   $ hg debugsub
   path s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file:/*/svn-repo/src (glob) (windows !)
+   source   file:/*/$TESTTMP/svn-repo/src (glob) (no-windows !)
revision 2
   path subdir/s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file:/*/svn-repo/src (glob) (windows !)
+   source   file:/*/$TESTTMP/svn-repo/src (glob) (no-windows !)
revision 2
 
 change file in svn and hg, commit
@@ -113,10 +115,12 @@
   At revision 3.
   $ hg debugsub
   path s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file:/*/svn-repo/src (glob) (windows !)
+   source   file:/*/$TESTTMP/svn-repo/src (glob) (no-windows !)
revision 3
   path subdir/s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file:/*/svn-repo/src (glob) (windows !)
+   source   file:/*/$TESTTMP/svn-repo/src (glob) (no-windows !)
revision 2
 
 missing svn file, commit should fail
@@ -235,10 +239,12 @@
 
   $ hg debugsub
   path s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file:/*/svn-repo/src (glob) (windows !)
+   source   file:/*/$TESTTMP/svn-repo/src (glob) (no-windows !)
revision 3
   path subdir/s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file:/*/svn-repo/src (glob) (windows !)
+   source   file:/*/$TESTTMP/svn-repo/src (glob) (no-windows !)
revision 2
 
 verify subrepo is contained within the repo directory
@@ -574,8 +580,8 @@
 Test forgetting files, not implemented in svn subrepo, used to
 traceback
 
-  $ hg forget 'notafile*'
-  notafile*: $ENOENT$
+  $ hg forget 'notafile'
+  notafile: $ENOENT$
   [1]
 
 Test a subrepo referencing a just moved svn path. Last commit rev will



To: mharbison72, #hg-reviewers, pulkit
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D7816: tests: stabilize test-subrepo-svn.t on Windows

2020-01-14 Thread mharbison72 (Matt Harbison)
mharbison72 edited the summary of this revision.
mharbison72 updated this revision to Diff 19265.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7816?vs=19117=19265

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7816/new/

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

AFFECTED FILES
  tests/test-subrepo-svn.t

CHANGE DETAILS

diff --git a/tests/test-subrepo-svn.t b/tests/test-subrepo-svn.t
--- a/tests/test-subrepo-svn.t
+++ b/tests/test-subrepo-svn.t
@@ -85,7 +85,7 @@
 
 debugsub
 
-  $ hg debugsub
+  $ hg debugsub | sed 's/%3A/:/g'
   path s
source   file:/*/$TESTTMP/svn-repo/src (glob)
revision 2
@@ -111,7 +111,7 @@
   Fetching external item into '*s/externals'* (glob)
   External at revision 1.
   At revision 3.
-  $ hg debugsub
+  $ hg debugsub | sed 's/%3A/:/g'
   path s
source   file:/*/$TESTTMP/svn-repo/src (glob)
revision 3
@@ -233,7 +233,7 @@
 
 debugsub in clone
 
-  $ hg debugsub
+  $ hg debugsub | sed 's/%3A/:/g'
   path s
source   file:/*/$TESTTMP/svn-repo/src (glob)
revision 3
@@ -574,8 +574,8 @@
 Test forgetting files, not implemented in svn subrepo, used to
 traceback
 
-  $ hg forget 'notafile*'
-  notafile*: $ENOENT$
+  $ hg forget 'notafile'
+  notafile: $ENOENT$
   [1]
 
 Test a subrepo referencing a just moved svn path. Last commit rev will



To: mharbison72, #hg-reviewers, pulkit
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D7816: tests: stabilize test-subrepo-svn.t on Windows

2020-01-14 Thread pulkit (Pulkit Goyal)
pulkit added a comment.


  The test mow fails on linux.
  
--- /home/pulkit/repo/hgpush/tests/test-subrepo-svn.t
+++ /home/pulkit/repo/hgpush/tests/test-subrepo-svn.t.err
@@ -87,10 +87,10 @@

   $ hg debugsub 
   path s
-   source   file://*/svn-repo/src (glob)
+   source   file:/*/$TESTTMP/svn-repo/src (glob)
revision 2   
   path subdir/s 
-   source   file://*/svn-repo/src (glob)
+   source   file:/*/$TESTTMP/svn-repo/src (glob)
revision 2
 
 change file in svn and hg, commit   
@@ -113,10 +113,10 @@
   At revision 3.
   $ hg debugsub 
   path s
-   source   file://*/svn-repo/src (glob)
+   source   file:/*/$TESTTMP/svn-repo/src (glob)
revision 3
   path subdir/s
-   source   file://*/svn-repo/src (glob)
+   source   file:/*/$TESTTMP/svn-repo/src (glob)   
   
revision 2

 missing svn file, commit should fail
@@ -235,10 +235,10 @@

   $ hg debugsub
   path s
-   source   file://*/svn-repo/src (glob)
+   source   file:/*/$TESTTMP/svn-repo/src (glob)
revision 3
   path subdir/s
-   source   file://*/svn-repo/src (glob)
+   source   file:/*/$TESTTMP/svn-repo/src (glob)
revision 2

 verify subrepo is contained within the repo directory

ERROR: test-subrepo-svn.t output changed

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7816/new/

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

To: mharbison72, #hg-reviewers, pulkit
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D7816: tests: stabilize test-subrepo-svn.t on Windows

2020-01-08 Thread mharbison72 (Matt Harbison)
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  This partially reverts 991e4404e910 
, 
because the URL form of `C:\...` gets
  escaped to `C%3A/...`, which breaks the substitution of $TESTTMP.
  
  The forget command on 'notafile*' errored out with:
  
notafile*: The filename, directory name, or volume label syntax is incorrect
  
  which I think is because '*' isn't a legal character in a file name (though I
  can't trigger this directly from MSYS or cmd.exe for some reason).

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-subrepo-svn.t

CHANGE DETAILS

diff --git a/tests/test-subrepo-svn.t b/tests/test-subrepo-svn.t
--- a/tests/test-subrepo-svn.t
+++ b/tests/test-subrepo-svn.t
@@ -87,10 +87,10 @@
 
   $ hg debugsub
   path s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file://*/svn-repo/src (glob)
revision 2
   path subdir/s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file://*/svn-repo/src (glob)
revision 2
 
 change file in svn and hg, commit
@@ -113,10 +113,10 @@
   At revision 3.
   $ hg debugsub
   path s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file://*/svn-repo/src (glob)
revision 3
   path subdir/s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file://*/svn-repo/src (glob)
revision 2
 
 missing svn file, commit should fail
@@ -235,10 +235,10 @@
 
   $ hg debugsub
   path s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file://*/svn-repo/src (glob)
revision 3
   path subdir/s
-   source   file:/*/$TESTTMP/svn-repo/src (glob)
+   source   file://*/svn-repo/src (glob)
revision 2
 
 verify subrepo is contained within the repo directory
@@ -574,8 +574,8 @@
 Test forgetting files, not implemented in svn subrepo, used to
 traceback
 
-  $ hg forget 'notafile*'
-  notafile*: $ENOENT$
+  $ hg forget 'notafile'
+  notafile: $ENOENT$
   [1]
 
 Test a subrepo referencing a just moved svn path. Last commit rev will



To: mharbison72, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel