ports/101385: Mercurial fails to init a repository

Michael P. Soulier msoulier at digitaltorque.ca
Sat Aug 5 03:00:37 UTC 2006


>Number:         101385
>Category:       ports
>Synopsis:       Mercurial fails to init a repository
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 05 03:00:30 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Michael P. Soulier
>Release:        5.4
>Organization:
>Environment:
[msoulier at kanga ~]$ uname -a
FreeBSD kanga.digitaltorque.ca 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I have these built out of ports.

[msoulier at kanga ~]$ pkg_info | grep mercurial
mercurial-0.9.1     A fast, lightweight source control management system
[msoulier at kanga ~]$ pkg_info | grep python
python-2.4.3        An interpreted object-oriented programming language

Unfortunately, mercurial isn't working properly. 

[msoulier at kanga ~]$ cd work
[msoulier at kanga work]$ ls
[msoulier at kanga work]$ mkdir foobar
[msoulier at kanga work]$ touch foobar/{hello.c,Makefile}
[msoulier at kanga work]$ cd foobar/
[msoulier at kanga foobar]$ hg init
[msoulier at kanga foobar]$ ls -a
./              ../             .hg/            Makefile        hello.c
[msoulier at kanga foobar]$ ls -a .hg
./      ../     data/
[msoulier at kanga foobar]$ ls -a .hg/data/
./      ../

There's no metadata. No repository, essentially. Nothing to clone, so of course that doesn't work either.

[msoulier at kanga foobar]$ cd ..
[msoulier at kanga work]$ ls
foobar/
[msoulier at kanga work]$ hg clone foobar myfoobar
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
[msoulier at kanga work]$ ls myfoobar/
[msoulier at kanga work]$ 

It doesn't even report errors. This doesn't happen on my Linux boxes where I'm running Mercurial.
>How-To-Repeat:
See description above.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list