FS#7606 - [versionpkg] problem with mercurial repositories

Attached to Project: Arch Linux
Opened by orestis (orestis) - Thursday, 12 July 2007, 08:16 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 15 July 2007, 11:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


It seems that there is a bug in versionpkg's code when used on
PKGBUILDs that try to fetch code from a mercurial repository.

The problem lies in the fact that mercurial's clone command can
create only one new directory (and not a multi-level path) of the
destination parameter given to it. Hence, the command :

hg clone $_hgroot/$_hgrepo ./src/$_hgrepo

at line 192 in versionpkg's code fails to execute when the src/
directory does not pre-exist, and/or the $_hgrepo variable holds a
multi-level path that too does not exist.

By creating the ./src/$_hgrepo path right before the hg clone command
is executed solves this problem.

Additional info:
I'm using mercurial 0.9.4-1 from extra and versionpkg 0.7.4-1 from
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Sunday, 15 July 2007, 11:47 GMT
Reason for closing:  Won't fix
Additional comments about closing:  please report bugs in community packages as AUR comments:
http://aur.archlinux.org/packages.php?do _Details=1&ID=9272