view tests/test-empty-dir @ 1120:df25ee778ac2

Handle a nonexistent repository with a 404 error. Based on changeset 62ea868cafbfa3acb7e5dba6982ecb46a1637246 from Vincent Wagelaar <vincent@ricardis.tudelft.nl> in http://hannibal.lr-s.tudelft.nl/~vincent/fcgi
author Ollivier Robert <roberto@keltia.freenix.fr>
date Sat, 27 Aug 2005 23:43:08 -0700
parents 0902ffece4b4
children ba198d17eea9
line wrap: on
line source

#!/bin/sh

hg init
echo 123 > a
hg add a
hg commit -m "first" -d "0 0" a
mkdir sub
echo 321 > sub/b
hg add sub/b
hg commit -m "second" -d "0 0" sub/b
cat sub/b
hg co 0
cat sub/b
ls sub

true