FS#31221 - Don’t create a working directory for hg with new vcs syntax
Attached to Project:
Pacman
Opened by Link Mauve (linkmauve) - Tuesday, 21 August 2012, 10:40 GMT
Last edited by Allan McRae (Allan) - Tuesday, 18 September 2012, 14:31 GMT
Opened by Link Mauve (linkmauve) - Tuesday, 21 August 2012, 10:40 GMT
Last edited by Allan McRae (Allan) - Tuesday, 18 September 2012, 14:31 GMT
|
Details
Summary and Info:
Some projects can be pretty big, and creating a working directory from the hg repo waste space that will never be used. To disable that, use `hg clone -U` instead of `hg clone`, and `hg pull` instead of `hg pull -u`. Of course, this is only for $startdir/repo, the second clone to $srcdir/repo needs the working directory creation as it will contain the sources. Steps to Reproduce: Run makepkg with a -hg PKGBUILD using the new syntax. $startdir/repo contains the full source tree, while it could only contain a .hg directory, the Mercurial repository. |
This task depends upon
Closed by Allan McRae (Allan)
Tuesday, 18 September 2012, 14:31 GMT
Reason for closing: Fixed
Additional comments about closing: https://projects.archlinux.org/pacman.gi t/commit/?id=800799ea
Tuesday, 18 September 2012, 14:31 GMT
Reason for closing: Fixed
Additional comments about closing: https://projects.archlinux.org/pacman.gi t/commit/?id=800799ea
For BUILDDIR, it’s exactly the same as currently, the repo cloned from the external source will still be available if has been put in a persistent directory, only the build repo will need to be recreated each time, like currently.
Edit: I’ve noticed that git repositories include only the content of the otherwise .git directory, here it’s exactly the same except Mercurial still needs those files to be in a $reponame/.hg directory.