Mercurial > hg
diff tests/test-update-names.t @ 31844:478999e8281d
tests: move update requiredest test to own test file
More tests for this flag are coming in upcoming patches.
author | Ryan McElroy <rmcelroy@fb.com> |
---|---|
date | Fri, 07 Apr 2017 05:41:03 -0700 |
parents | 5b1461de2fbe |
children | 33c8a6837181 |
line wrap: on
line diff
--- a/tests/test-update-names.t Fri Apr 07 23:35:51 2017 +0530 +++ b/tests/test-update-names.t Fri Apr 07 05:41:03 2017 -0700 @@ -88,23 +88,3 @@ (consider changing to repo root: $TESTTMP/r1/r4) #endif - - $ cd $TESTTMP - $ cat >> $HGRCPATH <<EOF - > [commands] - > update.requiredest = True - > EOF - $ hg init dest - $ cd dest - $ echo a >> a - $ hg commit -qAm aa - $ hg up - abort: you must specify a destination - (for example: hg update ".::") - [255] - $ hg up . - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved - $ HGPLAIN=1 hg up - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved - $ hg --config commands.update.requiredest=False up - 0 files updated, 0 files merged, 0 files removed, 0 files unresolved