[Pkg-libvirt-commits] [libguestfs] 136/146: v2v: -i ova: Make error message "unsupported file format" clearer.

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 29 17:01:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch master
in repository libguestfs.

commit 8750821abf6266353a9a4f00bd9936c69e080991
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Wed Jan 28 13:28:37 2015 +0000

    v2v: -i ova: Make error message "unsupported file format" clearer.
    
    Thanks: Moran Goldboim
    (cherry picked from commit 6a195d0f9565ad0e6e46f3e9904a6dea129e59f4)
---
 v2v/input_ova.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2v/input_ova.ml b/v2v/input_ova.ml
index e7de110..8123282 100644
--- a/v2v/input_ova.ml
+++ b/v2v/input_ova.ml
@@ -63,7 +63,7 @@ object
             error (f_"error unpacking %s, see earlier error messages") ova;
           tmpdir
         | `GZip | `XZ | `Unknown ->
-          error (f_"%s: unsupported file format") ova
+          error (f_"%s: unsupported file format\n\nFormats which we currently understand for '-i ova' are: uncompressed tar, zip") ova
       ) in
 
     (* Exploded path must be absolute (RHBZ#1155121). *)

-- 
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