Skip to content
Snippets Groups Projects
Commit 800625c63100 authored by durin42's avatar durin42
Browse files

test-subrepos: fix test to actually pass against all supported versions

parent 1ec00e2805fb
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@
git pull | sed 's/files/file/;s/insertions/insertion/;s/, 0 deletions.*//' | sed 's/| */| /'
cd ../..
echo xxx >> alpha
hg commit -m 'Update subrepo2 from hg'
hg commit -m 'Update subrepo2 from hg' | grep -v "committing subrepository"
hg push
cd ..
cd gitrepo1
......@@ -127,6 +127,6 @@
gitcommit -m "Test3. Prepare .hgsub and .hgsubstate sources"
cd ../hgrepo
hg pull
hg checkout -C | sed s_$(dirname $(pwd))_TEMPLOCATION_
hg checkout -C | sed "s_$(dirname $(pwd))_TEMPLOCATION_"
cd ..
echo % pull shall bring .hgsub entry which was added to the git repo
......@@ -131,4 +131,4 @@
cd ..
echo % pull shall bring .hgsub entry which was added to the git repo
cat hgrepo/.hgsub | sed s_$(pwd)_TEMPLOCATION_
cat hgrepo/.hgsub | sed "s_$(pwd)_TEMPLOCATION_"
echo % .hgsubstate shall list revision of the subrepo added through git repo
......@@ -134,2 +134,2 @@
echo % .hgsubstate shall list revision of the subrepo added through git repo
cat hgrepo/.hgsubstate | sed s_$(pwd)_TEMPLOCATION_
cat hgrepo/.hgsubstate | sed "s_$(pwd)_TEMPLOCATION_"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment