tests/test-empty
author Vadim Gelfer <vadim.gelfer@gmail.com>
Mon, 08 May 2006 10:59:58 -0700
changeset 2221 05b6c13f43c6
parent 1338 2b77ea66fe70
permissions -rwxr-xr-x
reverse sense of return value from python hooks. old scheme (False/None/0/'' == fail) made coding style unnatural, did not allow use of mercurial commands as hooks. new scheme (False/None/0 == pass) is pythonic, does not require peculiar "return True" at ends of hooks, allows hooks like this: [hooks] # update working dir after push into this repo changegroup.update = python:mercurial.commands.update
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1338
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     1
#!/bin/sh
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     2
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     3
hg init
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     4
hg log
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     5
hg grep wah
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     6
hg manifest
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     7
hg verify