monotone

Issue 171: mtn crashes with top-level _MTN directory

Reported by Thomas Keller, May 17, 2011

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

1. create / initialize a workspace in c:\
2. execute any mtn command underknees c:\

Expected result:
----------------

Commands work without problems.

Actual results:
---------------

mtn: ----- begin 'inT' (in std::string normalize_path(const 
std::string&), at paths.cc:262)
mtn: /_MTN/debug
mtn: -----   end 'inT' (in std::string normalize_path(const 
std::string&), at paths.cc:262)
mtn: paths.cc:307: detected internal error, 
'I(!is_absolute_here(inT))' violated

mtn: Fataler Fehler: Fehler: paths.cc:307: I(!is_absolute_here(inT))

The obvious workaround is to remove the top-level _MTN directory, of 
course.

Output of `mtn version --full`:
-------------------------------

mtn-1.0

Comment 1 by Stephen Leake, Jun 28, 2012

manual updated in 3fefc8dc33b94ad9de00c561b21927f2bc2d7d48

better would be to give a nice error message in 'mtn setup', 'mtn 
checkout', and any other commands that can create a workspace

Created: 6 years 4 months ago by Thomas Keller

Updated: 5 years 2 months ago

Status: New

Followed by: 1 person

Labels:
OpSys:Windows
Type:Incorrect Behavior
Priority:Medium

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