mercurial not working

Ollivier Robert roberto at keltia.freenix.fr
Fri Aug 4 21:56:00 UTC 2006


According to Michael P. Soulier:
> Unfortunately, mercurial isn't working at all.

That is rather surprising as I was running an older version on my 5.4
machine.

> After an hg init, the .hg directory has no files in it.
> Works fine on Linux. I'm not sure why that is. No error messages, nothing.

After "hg init", the only thing that you should find is a directory called
data, itself containing nothing.  Only after the first add/commit or import
should you find anything else.

219 [23:51] roberto at keltia:/tmp> hg init foo
220 [23:51] roberto at keltia:/tmp> cd foo
221 [23:51] roberto at keltia:/tmp/foo> ll .hg
total 2
drwxr-xr-x  2 roberto  wheel  512 Aug  4 23:51 data/
222 [23:51] roberto at keltia:/tmp/foo> ll .hg/data
total 0
223 [23:53] roberto at keltia:/tmp/foo> touch bar
224 [23:53] roberto at keltia:/tmp/foo> hg add bar
225 [23:53] roberto at keltia:/tmp/foo> ll .hg
total 4
drwxr-xr-x  2 roberto  wheel  512 Aug  4 23:51 data/
-rw-r--r--  1 roberto  wheel   60 Aug  4 23:53 dirstate
226 [23:53] roberto at keltia:/tmp/foo> hg commit -m 'bar added.'
227 [23:53] roberto at keltia:/tmp/foo> ll .hg
total 12
-rw-r--r--  1 roberto  wheel  174 Aug  4 23:53 00changelog.i
-rw-r--r--  1 roberto  wheel  110 Aug  4 23:53 00manifest.i
drwxr-xr-x  2 roberto  wheel  512 Aug  4 23:53 data/
-rw-r--r--  1 roberto  wheel   60 Aug  4 23:53 dirstate
-rw-r--r--  1 roberto  wheel   44 Aug  4 23:53 undo
-rw-r--r--  1 roberto  wheel   60 Aug  4 23:53 undo.dirstate

What does happen if you do the same commands?


More information about the freebsd-ports mailing list