Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#28481 - [abs] improve abs PKGBUILD-hg.proto

Attached to Project: Arch Linux
Opened by Daniel YC Lin (dlin) - Friday, 17 February 2012, 09:33 GMT
Last edited by Dave Reisner (falconindy) - Friday, 07 September 2012, 15:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

There are two places could improve.

1. if no changeset, it will hang.
2. clone save space & speed

I wish it could be
hg incoming # but if no changeset here, it will quit
if [ $? -ne 0 ] ; then
hg pull -u
fi

Steps to Reproduce:

if [[ -d "$_hgrepo" ]]; then
cd "$_hgrepo"
hg pull -u || true # prevent error when no changeset
msg "The local files are updated."
else
hg clone "$_hgroot" "$_hgrepo"
fi

msg "Mercurial checkout done or server timeout"
msg "Starting build..."

rm -rf "$srcdir/$_hgrepo-build"
hg clone "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build" # clone save space & speed
cd "$srcdir/$_hgrepo-build/src"
This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 07 September 2012, 15:23 GMT
Reason for closing:  None
Additional comments about closing:  No longer relevant
Comment by Stefan Husmann (stefanhusmann) - Monday, 05 March 2012, 13:11 GMT

Loading...