##// END OF EJS Templates
test-removeemptydirs: adjust to Windows behavior for the `histedit` case...
marmoute -
r48380:5f836c10 default
parent child Browse files
Show More
@@ -103,6 +103,8 b' directory (reordering nodes):'
103 A directory with the right pass exists at the end of the run, but it is a
103 A directory with the right pass exists at the end of the run, but it is a
104 different directory than the current one.
104 different directory than the current one.
105
105
106 Windows is not affected
107
106 $ hg init hghistedit
108 $ hg init hghistedit
107 $ cd hghistedit
109 $ cd hghistedit
108 $ echo hi > r0
110 $ echo hi > r0
@@ -122,8 +124,8 b' different directory than the current one'
122 > EOF
124 > EOF
123 $ cd $TESTTMP/hghistedit/somedir
125 $ cd $TESTTMP/hghistedit/somedir
124 $ hg $DO_RM --config extensions.histedit= histedit -q --commands ../histedit_commands
126 $ hg $DO_RM --config extensions.histedit= histedit -q --commands ../histedit_commands
125 current directory was removed
127 current directory was removed (no-windows !)
126 (consider changing to repo root: $TESTTMP/hghistedit)
128 (consider changing to repo root: $TESTTMP/hghistedit) (no-windows !)
127 $ ls -1 $TESTTMP/hghistedit/
129 $ ls -1 $TESTTMP/hghistedit/
128 histedit_commands
130 histedit_commands
129 r0
131 r0
@@ -135,6 +137,7 b' different directory than the current one'
135 $ ls -1 $TESTTMP/hghistedit/somedir
137 $ ls -1 $TESTTMP/hghistedit/somedir
136 foo
138 foo
137 $ ls -1
139 $ ls -1
140 foo (windows !)
138
141
139 Get out of the doomed directory
142 Get out of the doomed directory
140
143
General Comments 0
You need to be logged in to leave comments. Login now