bugmonotone - Bugs: bug #17736, Invariant fails if pull is tried...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17736: Invariant fails if pull is tried via ssh://

Submitted by:  Thomas Keller <tommyd>
Submitted on:  Thu 14 Sep 2006 12:36:40 PM UTC  
 
Category: networkingSeverity: 3 - Normal
Item Group: crashStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed
mtn version --full: 

monotone 0.29 (base revision: 796bc8596d6c5c68828fbfb6a620a09a3af15ded)
Running on : Linux 2.6.14-1.1637_9.rhfc4.cubbi_swsusp2 #1 Fri Nov 25 17:06:18 CET 2005 i686
C++ compiler : GNU C++ version 4.1.1 20060525 (Red Hat 4.1.1-1)
C++ standard library: GNU libstdc++ version 20060525
Boost version : 1_33_1
Changes since base revision:
unknown

Mon 06 Nov 2006 11:59:58 AM UTC, comment #3:

Just pushed "fix" which introduces an error message for the user in case the URI isn't matched.

Thomas Keller <tommyd>
Project Administrator
Thu 14 Sep 2006 08:00:01 PM UTC, comment #2:

It should give a better error message, though.

Nathaniel Smith <njs>
Project Member
Thu 14 Sep 2006 07:17:53 PM UTC, comment #1:

ssh://TommyD@wuschel:~/Development/monotone.mtn is incorrect syntax. The correct syntax is ssh://TommyD@wuschel/~/Development/monotone.mtn.

See http://venge.net/monotone/docs/Other-Transports.html for a description of the syntax. In particular, ":" is reserved in this syntax for denoting port numbers, in keeping with standard URI syntax.

We know it's different from scp's syntax. Sorry.

graydon hoare <graydon>
Project Member
Thu 14 Sep 2006 12:36:40 PM UTC, original submission:

$ mtn pull -d monotone.db \
ssh://TommyD@wuschel:~/Development/monotone.mtn \
net.venge.monotone.guitone
mtn: doing anonymous pull; use -kKEYNAME if you need authentication
mtn: connecting to ssh://TommyD@wuschel:~/Development/monotone.mtn
mtn: fatal: St11logic_error: uri.cc:61: invariant 'I(boost::regex_match(authority, auth_matches, boost::regex(auth_rx)))' violated
[...]

I think the problem here is wuschel:/, because wuschel/ works, however I'm used to the syntax with the colon in several other client/server programs (like scp).

Thomas.

Thomas Keller <tommyd>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 06 Nov 2006 11:59:58 AM UTCtommydStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1