Created
May 14, 2010 22:32
-
-
Save heftig/401777 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a feature request for better VCS support. | |
E.g., for Mercurial: | |
vcs=('vim:hg:http://vim.googlecode.com/hg/vim') # array of 'dest:vcs:source' | |
rev_vim=1290 | |
This would checkout revision 1290 of | |
http://vim.googlecode.com/hg/vim into $srcdir/vim: | |
hg clone -u "$rev" "$source" "$srcdir/$dest" || return 1 | |
If vim already exists, pull new revisions from the source and | |
update the repository to rev 1290: | |
( cd "$srcdir/$dest"; hg pull; hg update -r "$rev" ) || return 1 | |
A special option to makepkg would tell it to update the revisions | |
to the most recent. This is in contrast to what is done currently | |
(--holdver to *not* make it update the version.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment