equal
deleted
inserted
replaced
1 #require svn15 |
1 #require svn15 |
2 |
2 |
3 $ SVNREPOPATH=`pwd`/svn-repo |
3 $ SVNREPOPATH=`pwd`/svn-repo |
4 #if windows |
4 #if windows |
5 $ SVNREPOURL=file:///`$PYTHON -c "import urllib, sys; sys.stdout.write(urllib.quote(sys.argv[1]))" "$SVNREPOPATH"` |
5 $ SVNREPOURL=file:///`"$PYTHON" -c "import urllib, sys; sys.stdout.write(urllib.quote(sys.argv[1]))" "$SVNREPOPATH"` |
6 #else |
6 #else |
7 $ SVNREPOURL=file://`$PYTHON -c "import urllib, sys; sys.stdout.write(urllib.quote(sys.argv[1]))" "$SVNREPOPATH"` |
7 $ SVNREPOURL=file://`"$PYTHON" -c "import urllib, sys; sys.stdout.write(urllib.quote(sys.argv[1]))" "$SVNREPOPATH"` |
8 #endif |
8 #endif |
9 |
9 |
10 $ filter_svn_output () { |
10 $ filter_svn_output () { |
11 > egrep -v 'Committing|Transmitting|Updating|(^$)' || true |
11 > egrep -v 'Committing|Transmitting|Updating|(^$)' || true |
12 > } |
12 > } |
245 source file:/*/$TESTTMP/svn-repo/src (glob) |
245 source file:/*/$TESTTMP/svn-repo/src (glob) |
246 revision 2 |
246 revision 2 |
247 |
247 |
248 verify subrepo is contained within the repo directory |
248 verify subrepo is contained within the repo directory |
249 |
249 |
250 $ $PYTHON -c "import os.path; print os.path.exists('s')" |
250 $ "$PYTHON" -c "import os.path; print os.path.exists('s')" |
251 True |
251 True |
252 |
252 |
253 update to nullrev (must delete the subrepo) |
253 update to nullrev (must delete the subrepo) |
254 |
254 |
255 $ hg up null |
255 $ hg up null |