[Pkg-bazaar-commits] r170 ./bzr-builddeb/trunk: Improve the error message of import-dsc slightly

James Westby jw+debian at jameswestby.net
Wed Aug 22 21:28:14 UTC 2007


------------------------------------------------------------
revno: 170
committer: James Westby <jw+debian at jameswestby.net>
branch nick: trunk
timestamp: Wed 2007-08-22 22:28:14 +0100
message:
  Improve the error message of import-dsc slightly
modified:
  __init__.py
-------------- next part --------------
=== modified file '__init__.py'
--- a/__init__.py	2007-08-22 21:18:19 +0000
+++ b/__init__.py	2007-08-22 21:28:14 +0000
@@ -422,10 +422,11 @@
     if snapshot is None:
       if len(files_list) < 1:
         raise BzrCommandError("You must give the location of at least one "
-                              "source package to install")
+                              "source package to install, or use the "
+                              "--file or --snapshot options.")
       if to is None:
         raise BzrCommandError("You must specify the name of the "
-                              "destination branch using the --to option")
+                              "destination branch using the --to option.")
       importer = DscImporter(files)
     else:
       if to is None:



More information about the Pkg-bazaar-commits mailing list