Mercurial > hg-stable
comparison tests/test-add.t @ 45863:3175b0e0058b
errors: use InputError for errors about bad paths
Differential Revision: https://phab.mercurial-scm.org/D9326
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 12 Nov 2020 09:53:14 -0800 |
parents | bff719525815 |
children | 9dc1351d0b5f |
comparison
equal
deleted
inserted
replaced
45862:c7abdbc8fd47 | 45863:3175b0e0058b |
---|---|
46 $ hg --config ui.portablefilenames=jump add con.xml | 46 $ hg --config ui.portablefilenames=jump add con.xml |
47 abort: ui.portablefilenames value is invalid ('jump') | 47 abort: ui.portablefilenames value is invalid ('jump') |
48 [30] | 48 [30] |
49 $ hg --config ui.portablefilenames=abort add con.xml | 49 $ hg --config ui.portablefilenames=abort add con.xml |
50 abort: filename contains 'con', which is reserved on Windows: con.xml | 50 abort: filename contains 'con', which is reserved on Windows: con.xml |
51 [255] | 51 [10] |
52 $ hg st | 52 $ hg st |
53 A a | 53 A a |
54 A b | 54 A b |
55 ? con.xml | 55 ? con.xml |
56 $ hg add con.xml | 56 $ hg add con.xml |
66 #if eol-in-paths | 66 #if eol-in-paths |
67 $ echo bla > 'hello:world' | 67 $ echo bla > 'hello:world' |
68 $ hg --config ui.portablefilenames=abort add | 68 $ hg --config ui.portablefilenames=abort add |
69 adding hello:world | 69 adding hello:world |
70 abort: filename contains ':', which is reserved on Windows: 'hello:world' | 70 abort: filename contains ':', which is reserved on Windows: 'hello:world' |
71 [255] | 71 [10] |
72 $ hg st | 72 $ hg st |
73 A a | 73 A a |
74 A b | 74 A b |
75 ? hello:world | 75 ? hello:world |
76 $ hg --config ui.portablefilenames=ignore add | 76 $ hg --config ui.portablefilenames=ignore add |