Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2006 02:50:31 GMT
From:      "Michael P. Soulier" <msoulier@digitaltorque.ca>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/101385: Mercurial fails to init a repository
Message-ID:  <200608050250.k752oV6b005619@www.freebsd.org>
Resent-Message-ID: <200608050300.k7530acN086695@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@kanga ~]$ uname -a
FreeBSD kanga.digitaltorque.ca 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I have these built out of ports.

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

Unfortunately, mercurial isn't working properly. 

[msoulier@kanga ~]$ cd work
[msoulier@kanga work]$ ls
[msoulier@kanga work]$ mkdir foobar
[msoulier@kanga work]$ touch foobar/{hello.c,Makefile}
[msoulier@kanga work]$ cd foobar/
[msoulier@kanga foobar]$ hg init
[msoulier@kanga foobar]$ ls -a
./              ../             .hg/            Makefile        hello.c
[msoulier@kanga foobar]$ ls -a .hg
./      ../     data/
[msoulier@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@kanga foobar]$ cd ..
[msoulier@kanga work]$ ls
foobar/
[msoulier@kanga work]$ hg clone foobar myfoobar
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
[msoulier@kanga work]$ ls myfoobar/
[msoulier@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608050250.k752oV6b005619>