monotone

Issue 110: Incorrect URI During Sync Gave `Nasty Internal' Error Rather Than User Friendly Incorrect URI Error

Reported by Tony Cooper, Nov 26, 2010

Steps to reproduce the problem:
-------------------------------

I mistakenly typed:
    mtn sync mtn:localhost?\*

when what I meant to type was:
    mtn sync mtn://localhost/?\*

The latter worked as excepted, the former gave:
$ mtn sync mtn:localhost?\*
mtn: connecting to mtn:localhost
mtn: fatal: error: netsync.cc:89: I(!host.empty())
mtn: this is almost certainly a bug in monotone.
mtn: please send this error message, the output of 'mtn version 
--full',
mtn: and a description of what you were doing to 
monotone-devel@nongnu.org.
mtn: wrote debugging log to 
/home/aecoope/code/monotone.ca/automate-stdio/MTN-0.99/_MTN/debug
mtn: if reporting a bug, please include this file

A more friendly `The specified URI is incorrectly formed' would be 
much better.

I have attached the debug file as well.

Output of `mtn version --full`:
-------------------------------
monotone 0.99.1 (base revision: 
8973482283db7c36780dce2b54721ccc0f5b7388)
Running on          : Linux 2.6.9-34.EL #1 Sun Mar 19 13:34:16 CST 
2006 i686
C++ compiler        : GNU C++ version 4.3.2
C++ standard library: GNU libstdc++ version 20080905
Boost version       : 1_40
SQLite version      : 3.5.9 (compiled against 3.5.9)
Lua version         : Lua 5.1
PCRE version        : 7.6 2008-01-28 (compiled against 7.6)
Botan version       : 1.8.9 (compiled against 1.8.9)
Changes since base revision:
format_version "1"

new_manifest [c1270158b7fa91abf8235ad129b0476943bde1ed]

old_revision [8973482283db7c36780dce2b54721ccc0f5b7388]

  Generated from data cached in the distribution;
  further changes may have been made.

Comment 1 by Thomas Keller, Nov 27, 2010

Fixed in 3784c72f3fbb028c9d08593574179d311efb507b
Status: Fixed

Comment 2 by Thomas Keller, Nov 27, 2010

Actually f5726828ba2b388ea64db1e59f7319b79e98b75f is correct. Sorry 
for the noise.

Created: 14 years 25 days ago by Tony Cooper

Updated: 14 years 25 days ago

Status: Fixed

Followed by: 1 person

Labels:
Component:Command Line UI
Type:Incorrect Behavior
Priority:Low

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status