Show More
@@ -67,6 +67,48 b' Adding more files' | |||
|
67 | 67 | ? x/ |
|
68 | 68 | ? y/ |
|
69 | 69 | |
|
70 | Run from subdirectory | |
|
71 | $ hg status --terse u --cwd x/l | |
|
72 | ? .hgignore | |
|
73 | ? a | |
|
74 | ? b | |
|
75 | ? x/ | |
|
76 | ? y/ | |
|
77 | $ relstatus() { | |
|
78 | > hg status --terse u --config commands.status.relative=1 "$@"; | |
|
79 | > } | |
|
80 | This should probably have {"l/", "m/", "n/"} instead of {"."}. They should | |
|
81 | probably come after "../y/". | |
|
82 | $ relstatus --cwd x | |
|
83 | ? ../.hgignore | |
|
84 | ? ../a | |
|
85 | ? ../b | |
|
86 | ? . | |
|
87 | ? ../y/ | |
|
88 | This should probably have {"u/", "../m/", "../n/"} instead of {"../"}. | |
|
89 | $ relstatus --cwd x/l | |
|
90 | ? ../../.hgignore | |
|
91 | ? ../../a | |
|
92 | ? ../../b | |
|
93 | ? ../ | |
|
94 | ? ../../y/ | |
|
95 | This should probably have {"a/", "bb", "../aa", "../../m/", "../../n/"} | |
|
96 | instead of {"../../"}. | |
|
97 | $ relstatus --cwd x/l/u | |
|
98 | ? ../../../.hgignore | |
|
99 | ? ../../../a | |
|
100 | ? ../../../b | |
|
101 | ? ../../ | |
|
102 | ? ../../../y/ | |
|
103 | This should probably have {"bb", "../bb", "../../aa", "../../../m/", | |
|
104 | "../../../n/"} instead of {"../../../"}. | |
|
105 | $ relstatus --cwd x/l/u/a | |
|
106 | ? ../../../../.hgignore | |
|
107 | ? ../../../../a | |
|
108 | ? ../../../../b | |
|
109 | ? ../../../ | |
|
110 | ? ../../../../y/ | |
|
111 | ||
|
70 | 112 | $ hg add x/aa x/bb .hgignore |
|
71 | 113 | $ hg status --terse au |
|
72 | 114 | A .hgignore |
General Comments 0
You need to be logged in to leave comments.
Login now