Show More
@@ -1394,3 +1394,46 b' test popping must remove files added in ' | |||||
1394 | patch queue now empty |
|
1394 | patch queue now empty | |
1395 | $ cd .. |
|
1395 | $ cd .. | |
1396 |
|
1396 | |||
|
1397 | ||||
|
1398 | test case preservation through patch pushing especially on case | |||
|
1399 | insensitive filesystem | |||
|
1400 | ||||
|
1401 | $ hg init casepreserve | |||
|
1402 | $ cd casepreserve | |||
|
1403 | ||||
|
1404 | $ hg qnew add-file1 | |||
|
1405 | $ echo a > TeXtFiLe.TxT | |||
|
1406 | $ hg add TeXtFiLe.TxT | |||
|
1407 | $ hg qrefresh | |||
|
1408 | ||||
|
1409 | $ hg qnew add-file2 | |||
|
1410 | $ echo b > AnOtHeRFiLe.TxT | |||
|
1411 | $ hg add AnOtHeRFiLe.TxT | |||
|
1412 | $ hg qrefresh | |||
|
1413 | ||||
|
1414 | $ hg qnew modify-file | |||
|
1415 | $ echo c >> AnOtHeRFiLe.TxT | |||
|
1416 | $ hg qrefresh | |||
|
1417 | ||||
|
1418 | $ hg qapplied | |||
|
1419 | add-file1 | |||
|
1420 | add-file2 | |||
|
1421 | modify-file | |||
|
1422 | $ hg qpop -a | |||
|
1423 | popping modify-file | |||
|
1424 | popping add-file2 | |||
|
1425 | popping add-file1 | |||
|
1426 | patch queue now empty | |||
|
1427 | ||||
|
1428 | this qpush causes problems below, if case preservation on case | |||
|
1429 | insensitive filesystem is not enough: | |||
|
1430 | (1) unexpected "adding ..." messages are shown | |||
|
1431 | (2) patching fails in modification of (1) files | |||
|
1432 | ||||
|
1433 | $ hg qpush -a | |||
|
1434 | applying add-file1 | |||
|
1435 | applying add-file2 | |||
|
1436 | applying modify-file | |||
|
1437 | now at: modify-file | |||
|
1438 | ||||
|
1439 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now