This is an automated email from the git hooks/post-receive script. jamessan pushed a commit to branch master in repository devscripts.
commit 4690c6c7a0f39bcfcfce519e8745db688ac29120 Author: Guillem Jover <[email protected]> Date: Fri Apr 21 04:51:31 2017 +0200 debsnap: Use the remote mtime when creating the local file Making a more exact copy, is useful so that you can see when the orig tarball was created, and it can be used further as the timestamp when importing into git for example. Signed-off-by: James McCoy <[email protected]> --- scripts/debsnap.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/debsnap.pl b/scripts/debsnap.pl index 90f5da2..fe7c3f9 100755 --- a/scripts/debsnap.pl +++ b/scripts/debsnap.pl @@ -320,7 +320,7 @@ elsif ($opt{binary}) { if (!have_file("$opt{destdir}/$file_name", $hash)) { verbose "Getting file $file_name: $file_url"; $mkDestDir->(); - LWP::Simple::getstore($file_url, "$opt{destdir}/$file_name"); + LWP::Simple::mirror($file_url, "$opt{destdir}/$file_name"); } } } @@ -361,7 +361,7 @@ else { if (!have_file("$opt{destdir}/$dsc_name", $dsc_hash)) { verbose "Getting dsc file $dsc_name: $file_url"; $mkDestDir->(); - LWP::Simple::getstore($file_url, "$opt{destdir}/$dsc_name"); + LWP::Simple::mirror($file_url, "$opt{destdir}/$dsc_name"); } # Get the list of files from the dsc: @@ -403,7 +403,7 @@ else { if (!have_file("$opt{destdir}/$file_name", $file_hash)) { verbose "Getting file $file_name: $file_url"; $mkDestDir->(); - LWP::Simple::getstore($file_url, "$opt{destdir}/$file_name"); + LWP::Simple::mirror($file_url, "$opt{destdir}/$file_name"); } } } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git _______________________________________________ devscripts-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel
