diff tests/test-subrepo.t @ 12852:5dbff89cf107 stable

subrepo: propagate non-default pull/push path to relative subrepos (issue1852)
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 27 Oct 2010 00:28:40 +0200
parents b00eda50ad2b
children 0b30e6148ec5
line wrap: on
line diff
--- a/tests/test-subrepo.t	Tue Oct 26 14:41:58 2010 +0300
+++ b/tests/test-subrepo.t	Wed Oct 27 00:28:40 2010 +0200
@@ -636,12 +636,23 @@
   adding manifests
   adding file changes
   added 1 changesets with 2 changes to 2 files
-  abort: default path for subrepository sub/repo not found
-  [255]
+  pulling subrepo sub/repo from issue1852a/sub/repo
+  requesting all changes
+  adding changesets
+  adding manifests
+  adding file changes
+  added 2 changesets with 2 changes to 1 files
+  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
 Try to push from the other side
 
-  $ hg -R issue1852a push issue1852c
-  pushing to issue1852c
-  abort: default path for subrepository sub/repo not found
-  [255]
+  $ hg -R issue1852a push `pwd`/issue1852c
+  pushing to $TESTTMP/sub/issue1852c
+  pushing subrepo sub/repo to $TESTTMP/sub/issue1852c/sub/repo
+  searching for changes
+  no changes found
+  searching for changes
+  adding changesets
+  adding manifests
+  adding file changes
+  added 1 changesets with 1 changes to 1 files