monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] review of nvm.connection_info_cleanup


From: Timothy Brownawell
Subject: Re: [Monotone-devel] review of nvm.connection_info_cleanup
Date: Thu, 17 Jun 2010 21:07:52 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100515 Icedove/3.0.4

On 06/16/2010 03:29 AM, Thomas Keller wrote:

Hi all!

The branch nvm.connection_info_cleanup should be feature-complete from
my side, all tests pass and the docs have been updated accordingly.
Please read over it and give me feedback if you find gotchas or think of
other improvements.

[NEWS]
+        - Naturally, the `clone` command now also accepts mtn:// URIs,
+          though the usage of branch globs is forbidden, as long as
+          no branch is specified separately with the new --branch option.

"...the use of branch globs is forbidden unless a branch is specified separately with the new --branch option."

[netsync.cc]
+  request.role = source_and_sink_role;
+  if (w == "sync")
+    request.role = source_and_sink_role;
+  else if (w == "push")
+    request.role = source_role;
+  else if (w == "pull")
+    request.role = sink_role;

'w' here is a 'char*', which you cannot compare like this. One or the other argument needs to be turned into a std::string (or you can use strcmp, but that's icky).

--
Timothy

Free public monotone hosting: http://mtn-host.prjek.net



reply via email to

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