2018-02-21 16:55:07 +03:00
|
|
|
#testcases case-innodb case-rocksdb
|
|
|
|
|
|
|
|
#if case-rocksdb
|
|
|
|
$ DBENGINE=rocksdb
|
|
|
|
#else
|
|
|
|
$ DBENGINE=innodb
|
|
|
|
#endif
|
|
|
|
|
2018-01-04 18:22:19 +03:00
|
|
|
$ . "$TESTDIR/hgsql/library.sh"
|
2014-04-17 21:33:37 +04:00
|
|
|
|
|
|
|
# Populate the db with an initial commit
|
|
|
|
|
|
|
|
$ initclient client
|
|
|
|
$ cd client
|
|
|
|
$ echo x > x
|
|
|
|
$ hg commit -qAm x
|
|
|
|
$ cd ..
|
|
|
|
|
|
|
|
$ initserver master masterrepo
|
|
|
|
$ cd master
|
|
|
|
$ hg log
|
|
|
|
$ hg pull -q ../client
|
|
|
|
|
2014-04-17 22:09:48 +04:00
|
|
|
# Verify committing odd filenames works (with % character)
|
2014-04-17 21:33:37 +04:00
|
|
|
|
|
|
|
$ hg up
|
|
|
|
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
|
|
$ echo a > 'bad%name'
|
|
|
|
$ hg commit -Am badname
|
|
|
|
adding bad%name
|
|
|
|
$ echo b > 'bad%name'
|
|
|
|
$ hg commit -Am badname2
|