[Pkg-libvirt-commits] [libguestfs] 07/17: v2v: windows: Sort files before uploading.
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:48:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.55-1
in repository libguestfs.
commit 0db22ee7a70cc51f85b80af180f1d8f55cef5f0c
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Fri Sep 26 10:21:07 2014 +0100
v2v: windows: Sort files before uploading.
This makes it easier to compare the trace output from different runs
of virt-v2v.
---
v2v/convert_windows.ml | 1 +
1 file changed, 1 insertion(+)
diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml
index d677a03..2dbf529 100644
--- a/v2v/convert_windows.ml
+++ b/v2v/convert_windows.ml
@@ -305,6 +305,7 @@ echo uninstalling Xen PV driver
*)
let files = Sys.readdir path in
let files = Array.to_list files in
+ let files = List.sort compare files in
List.iter (
fun file ->
g#upload (path // file) (driverdir // file)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list