monotone

monotone Commit Details

Date:2010-11-26 00:51:27 (8 years 6 months ago)
Author:Thomas Keller
Branch:net.venge.monotone
Commit:3b415f32eb83376f005aac30faeb1f1fa2314623
Parents: f4d9a9a65688dbe7f3a0e074edb38db5308db221
Message:add a comment to clarify why we treat a path of '/~foo' as correct in this place

Changes:
Munit-tests/uri.cc (1 diff)

File differences

unit-tests/uri.cc
4545
4646
4747
48
49
50
51
52
4853
4954
5055
"ssh", "", "venge.net", "22", "/tmp/foo.mtn", "", "");
test_one_uri("ssh://venge.net/tmp/foo.mtn",
"ssh", "", "venge.net", "", "/tmp/foo.mtn", "", "");
// the parser does not know the inner characteristics of the 'ssh' scheme,
// i.e. that a tilde isn't expanded when its inside a path, so we treat this
// as correct in this place. the leading slash is then however stripped off
// in get_netsync_connect_command in std_hooks.lua so that ssh will handle
// it properly
test_one_uri("ssh://graydon@venge.net/~/foo.mtn",
"ssh", "graydon", "venge.net", "", "/~/foo.mtn", "", "");
test_one_uri("ssh://[fe:00:01::04:21]/tmp/foo.mtn",

Archive Download the corresponding diff file

Branches

Tags

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