monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] net.venge.monotone: 6256de4899c7f2eb0a1a64e7e1


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone: 6256de4899c7f2eb0a1a64e7e12e9a286967b19b
Date: Sat, 13 Nov 2010 19:32:02 GMT

revision:            6256de4899c7f2eb0a1a64e7e12e9a286967b19b
date:                2010-11-13T19:31:30
author:              address@hidden
branch:              net.venge.monotone
changelog:
* cmd_netsync.cc (remote, remote_stdio): check for dbname_given
instead for an empty dbname to properly detect a database given
by an alias (fixes monotone issue 95)

manifest:
format_version "1"

new_manifest [d4423a6db918769d8129c644cb029110298c4835]

old_revision [5d65834513bf3fc273b5b7509a155aa16f88e3bc]

patch "NEWS"
 from [72f972627320b7939ab9c6dcaccc844dafa7671f]
   to [54f6f6f9977e74124c61714b66ee8d4ed14a1158]

patch "cmd_netsync.cc"
 from [a57cd36558ab3cf7aa2192203c456eeef1fec541]
   to [c5dcaa406cddacc083e28d68e5746ed4ad39ce25]
============================================================
--- NEWS	72f972627320b7939ab9c6dcaccc844dafa7671f
+++ NEWS	54f6f6f9977e74124c61714b66ee8d4ed14a1158
@@ -11,6 +11,10 @@ XXX XXX XX XX:XX:XX UTC 2010
         - add compatibility with Botan 1.9.9 and newer
           (fixes monotone issue 104)
 
+        - 'automate remote' and 'automate remote_stdio' now use
+          a given database given by an alias to read, store and validate
+          a remote server's key fingerprint (fixes monotone issue 95) 
+
         Internal
 
 
============================================================
--- cmd_netsync.cc	a57cd36558ab3cf7aa2192203c456eeef1fec541
+++ cmd_netsync.cc	c5dcaa406cddacc083e28d68e5746ed4ad39ce25
@@ -117,7 +117,7 @@ CMD_AUTOMATE_NO_STDIO(remote_stdio,
 
   app.opts.non_interactive = true;
 
-  if (app.opts.dbname.empty())
+  if (!app.opts.dbname_given)
     {
       W(F("No database given; assuming '%s' database. This means that we can't\n"
           "verify the server key, because we have no record of what it should be.")
@@ -218,7 +218,7 @@ CMD_AUTOMATE_NO_STDIO(remote,
   E(args.size() >= 1, origin::user,
     F("wrong argument count"));
 
-  if (app.opts.dbname.empty())
+  if (!app.opts.dbname_given)
     {
       W(F("No database given; assuming '%s' database. This means that we can't\n"
           "verify the server key, because we have no record of what it should be.")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]