2017-08-11 01:49:15 +03:00
|
|
|
#require p4
|
|
|
|
|
|
|
|
$ . $TESTDIR/p4setup.sh
|
|
|
|
|
|
|
|
populate the depot
|
|
|
|
$ mkdir Main
|
|
|
|
$ echo a > 'Main/@'
|
|
|
|
$ echo b > 'Main/#'
|
|
|
|
$ echo c > 'Main/*'
|
|
|
|
$ echo d > 'Main/%'
|
|
|
|
$ echo d > 'Main/a'
|
|
|
|
$ p4 add -f 'Main/@' 'Main/#' 'Main/*' 'Main/%' 'Main/a'
|
|
|
|
//depot/Main/%40#1 - opened for add
|
|
|
|
//depot/Main/%23#1 - opened for add
|
|
|
|
//depot/Main/%2A#1 - opened for add
|
|
|
|
//depot/Main/%25#1 - opened for add
|
|
|
|
//depot/Main/a#1 - opened for add
|
|
|
|
$ p4 submit -d initial
|
|
|
|
Submitting change 1.
|
|
|
|
Locking 5 files ...
|
|
|
|
add //depot/Main/%23#1
|
|
|
|
add //depot/Main/%25#1
|
|
|
|
add //depot/Main/%2A#1
|
|
|
|
add //depot/Main/%40#1
|
|
|
|
add //depot/Main/a#1
|
|
|
|
Change 1 submitted.
|
|
|
|
|
|
|
|
Simple import
|
|
|
|
|
|
|
|
$ cd $hgwd
|
|
|
|
$ hg init --config 'format.usefncache=False'
|
2018-06-26 23:28:54 +03:00
|
|
|
$ hg p4seqimport -P $P4ROOT hg-p4-import
|
2017-08-11 01:49:15 +03:00
|
|
|
|
|
|
|
Verify
|
|
|
|
|
|
|
|
$ hg manifest -r 0
|
|
|
|
Main/#
|
|
|
|
Main/%
|
|
|
|
Main/*
|
|
|
|
Main/@
|
|
|
|
Main/a
|
|
|
|
|
|
|
|
End Test
|
|
|
|
|
|
|
|
stopping the p4 server
|