Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-convert-cvs.out @ 5331:8ee5b8129e7b
hgweb: don't raise an exception when displying empty repos
The nullid node claims it's in the default branch, but the branch dict
is empty. This fixes the main symptom from issue696, but we may want
to set branchtags()['default'] = nullid somewhere for empty repos.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 24 Sep 2007 19:00:11 -0300 |
parents | 5b0b0834419c |
children | 9400d677efc7 645a40777fd4 |
line wrap: on
line source
% create cvs repository % create source directory % import source directory N src/a N src/b/c No conflicts created by this import % checkout source directory U src/a U src/b/c % convert fresh repo connecting to cvsrepo initializing destination src-hg repository scanning source... sorting... converting... 1 Initial revision 0 import updating tags a c % commit new file revisions Checking in a; src/a,v <-- a new revision: 1.2; previous revision: 1.1 done Checking in b/c; src/b/c,v <-- c new revision: 1.2; previous revision: 1.1 done % convert again connecting to cvsrepo destination src-hg is a Mercurial repository scanning source... sorting... converting... 0 ci1 updating tags a a c c