Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/pkgs/build-support/fetchhg/builder.sh

10 lines
199 B
Bash
Raw Normal View History

* Add a fetchhg builder to checkout mercurial repositories. svn path=/nixpkgs/trunk/; revision=18347
2009-11-14 20:14:21 +00:00
source $stdenv/setup
fetchbzr, fetchdarcs, fetchhg: use `rev` attr This makes it match the behaviour of fetchgit and fetchsvn, so it's easier to write scripts that support all of them.
2014-06-28 20:33:28 +02:00
header "getting $url${rev:+ ($rev)} into $out"
* Add a fetchhg builder to checkout mercurial repositories. svn path=/nixpkgs/trunk/; revision=18347
2009-11-14 20:14:21 +00:00
Fix regression in fetchhg.
2014-05-29 09:06:13 +02:00
hg clone --insecure "$url" hg-clone
* Add a fetchhg builder to checkout mercurial repositories. svn path=/nixpkgs/trunk/; revision=18347
2009-11-14 20:14:21 +00:00
fetchbzr, fetchdarcs, fetchhg: use `rev` attr This makes it match the behaviour of fetchgit and fetchsvn, so it's easier to write scripts that support all of them.
2014-06-28 20:33:28 +02:00
hg archive -q -y ${rev:+-r "$rev"} --cwd hg-clone $out
Make fetchhg do the same as nix-prefetch-hg, use hg archive. Fixes #2781.
2014-05-28 10:40:21 +02:00
rm -f $out/.hg_archival.txt
* Add a fetchhg builder to checkout mercurial repositories. svn path=/nixpkgs/trunk/; revision=18347
2009-11-14 20:14:21 +00:00
stopNest
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 935ms Template: 11ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API