[Debtags-commits] [svn] r1027 - in debtags/trunk: debian src
Enrico Zini
enrico at costa.debian.org
Sun Jul 31 13:50:24 UTC 2005
Author: enrico
Date: Sun Jul 31 13:50:23 2005
New Revision: 1027
Modified:
debtags/trunk/debian/changelog
debtags/trunk/src/debtags.cc
Log:
Notify invalid tags passed to 'tag add' as errors, not as verbose output.
Modified: debtags/trunk/debian/changelog
==============================================================================
--- debtags/trunk/debian/changelog (original)
+++ debtags/trunk/debian/changelog Sun Jul 31 13:50:23 2005
@@ -5,8 +5,10 @@
installation works on networkless machines
* Initialize libdebtags1 in update mode when doing tag add or tag rm.
Closes: #319655.
+ * Notify invalid tags passed to 'tag add' as errors, not as verbose output.
+ Closes: #319656.
- -- Enrico Zini <enrico at debian.org> Sun, 31 Jul 2005 15:34:37 +0200
+ -- Enrico Zini <enrico at debian.org> Sun, 31 Jul 2005 15:48:41 +0200
debtags (1.1) unstable; urgency=low
Modified: debtags/trunk/src/debtags.cc
==============================================================================
--- debtags/trunk/src/debtags.cc (original)
+++ debtags/trunk/src/debtags.cc Sun Jul 31 13:50:23 2005
@@ -1448,7 +1448,7 @@
Package pkg = debtags.serializer().stringToItem(name);
if (!pkg)
{
- verbose("Package %.*s not found", PFSTR(name));
+ error("Package %.*s not found\n", PFSTR(name));
return 1;
}
@@ -1461,7 +1461,7 @@
if (t)
tagset += t;
else
- verbose("Tag %.*s not found: ignored", PFSTR(tag));
+ error("Tag `%.*s' not found: ignored\n", PFSTR(tag));
}
if (!tagset.empty())
@@ -1474,7 +1474,7 @@
debtags.tagDB().applyChange(change);
debtags.tagDB().savePatch();
} else
- verbose("No tags to add");
+ verbose("No tags to add\n");
}
else if (cmd == "ls")
{
More information about the Debtags-commits
mailing list