aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-12-28 23:19:34 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-12-28 23:19:34 +0000
commit4a9ff7cee60549d181f28bee92b3bf7ab7775c2b (patch)
tree0aa09fe00226b7de60bf1d6e98dcc16b18296ff6
parent3b5fc15fb523e4f2f6a76833fc5d46d4b03e410c (diff)
downloadpaludis-4a9ff7cee60549d181f28bee92b3bf7ab7775c2b.tar.gz
paludis-4a9ff7cee60549d181f28bee92b3bf7ab7775c2b.tar.xz
Make sequential work
-rw-r--r--src/clients/cave/cmd_sync.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/clients/cave/cmd_sync.cc b/src/clients/cave/cmd_sync.cc
index 56bcaf3..f5af57e 100644
--- a/src/clients/cave/cmd_sync.cc
+++ b/src/clients/cave/cmd_sync.cc
@@ -118,6 +118,10 @@ namespace
virtual std::string queue_name() const
{
+ /* if we're sequential, there's just one queue */
+ if (cmdline.a_sequential.specified())
+ return "";
+
const std::tr1::shared_ptr<const Repository> r(env->package_database()->fetch_repository(name));
if (r->sync_host_key())
return r->sync_host_key()->value();