Mercurial > hg
comparison tests/test-convert-svn-sink.t @ 25472:4d2b9b304ad0
tests: drop explicit $TESTDIR from executables
$TESTDIR is added to the path, so this is superfluous. Also,
inconsistent use of quotes means we might have broken on tests with
paths containing spaces.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 08 Jun 2015 14:44:30 -0500 |
parents | aa4a1672583e |
children | ef1eb6df7071 |
comparison
equal
deleted
inserted
replaced
25470:378a8e700e02 | 25472:4d2b9b304ad0 |
---|---|
30 adding a | 30 adding a |
31 adding d1/d2/b | 31 adding d1/d2/b |
32 | 32 |
33 Modify | 33 Modify |
34 | 34 |
35 $ "$TESTDIR/svn-safe-append.py" a a/a | 35 $ svn-safe-append.py a a/a |
36 $ hg --cwd a ci -d '1 0' -m 'modify a file' | 36 $ hg --cwd a ci -d '1 0' -m 'modify a file' |
37 $ hg --cwd a tip -q | 37 $ hg --cwd a tip -q |
38 1:e0e2b8a9156b | 38 1:e0e2b8a9156b |
39 | 39 |
40 $ hg convert -d svn a | 40 $ hg convert -d svn a |
352 $ hg init b | 352 $ hg init b |
353 $ echo base > b/b | 353 $ echo base > b/b |
354 $ hg --cwd b ci -d '0 0' -Ambase | 354 $ hg --cwd b ci -d '0 0' -Ambase |
355 adding b | 355 adding b |
356 | 356 |
357 $ "$TESTDIR/svn-safe-append.py" left-1 b/b | 357 $ svn-safe-append.py left-1 b/b |
358 $ echo left-1 > b/left-1 | 358 $ echo left-1 > b/left-1 |
359 $ hg --cwd b ci -d '1 0' -Amleft-1 | 359 $ hg --cwd b ci -d '1 0' -Amleft-1 |
360 adding left-1 | 360 adding left-1 |
361 | 361 |
362 $ "$TESTDIR/svn-safe-append.py" left-2 b/b | 362 $ svn-safe-append.py left-2 b/b |
363 $ echo left-2 > b/left-2 | 363 $ echo left-2 > b/left-2 |
364 $ hg --cwd b ci -d '2 0' -Amleft-2 | 364 $ hg --cwd b ci -d '2 0' -Amleft-2 |
365 adding left-2 | 365 adding left-2 |
366 | 366 |
367 $ hg --cwd b up 0 | 367 $ hg --cwd b up 0 |
368 1 files updated, 0 files merged, 2 files removed, 0 files unresolved | 368 1 files updated, 0 files merged, 2 files removed, 0 files unresolved |
369 | 369 |
370 $ "$TESTDIR/svn-safe-append.py" right-1 b/b | 370 $ svn-safe-append.py right-1 b/b |
371 $ echo right-1 > b/right-1 | 371 $ echo right-1 > b/right-1 |
372 $ hg --cwd b ci -d '3 0' -Amright-1 | 372 $ hg --cwd b ci -d '3 0' -Amright-1 |
373 adding right-1 | 373 adding right-1 |
374 created new head | 374 created new head |
375 | 375 |
376 $ "$TESTDIR/svn-safe-append.py" right-2 b/b | 376 $ svn-safe-append.py right-2 b/b |
377 $ echo right-2 > b/right-2 | 377 $ echo right-2 > b/right-2 |
378 $ hg --cwd b ci -d '4 0' -Amright-2 | 378 $ hg --cwd b ci -d '4 0' -Amright-2 |
379 adding right-2 | 379 adding right-2 |
380 | 380 |
381 $ hg --cwd b up -C 2 | 381 $ hg --cwd b up -C 2 |