Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-notfound @ 4328:1083ae4b5f0e
util.opener: if requested, use atomicfile even if the file doesn't exist
Right now, surprisingly enough, if you request an atomic file but the
file still doesn't exist, you get a regular file. AFAICS, the only time
this happens is during the initial creation of the dirstate.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 09 Apr 2007 04:24:17 -0300 |
parents | 891b6a262c4b |
children |
line wrap: on
line source
#!/bin/sh hg init echo "Is there an error message when trying to diff non-existing files?" hg diff not found echo "Is there an error message when trying to add non-existing files?" hg add not found