mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
1b244c77c7
Some systems show "Thu Jan 01" instead of "Thu Jan 1", which breaks tests. Using "1000000" yields "Mon Jan 12 13:46:40 1970", which looks the same on all systems.
13 lines
197 B
Bash
Executable File
13 lines
197 B
Bash
Executable File
#!/bin/sh
|
|
|
|
hg init rep
|
|
cd rep
|
|
mkdir dir
|
|
touch foo dir/bar
|
|
hg -v addremove
|
|
hg -v commit -m "add 1" -d "1000000 0"
|
|
cd dir/
|
|
touch ../foo_2 bar_2
|
|
hg -v addremove
|
|
hg -v commit -m "add 2" -d "1000000 0"
|