[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Bug with URLs.

From: <dimentiy_at_dimentiy.info>
Date: 2003-04-09 22:13:16 CEST

> Bug with user. You should be using a canonicalized URL.

No. It is svn's problem.

imho, should be:

Variant 1:
$ svn mkdir -m "Synchronizer" "http://svn.dimentiy.info/shtrih-m/Shtrih-M

Error: incorrect URL. Please, use canonical URLs.


Variant 2:
$ svn mkdir -m "Synchronizer" "http://svn.dimentiy.info/shtrih-m/Shtrih-M

Committed revision 5.

$ svn import -m "initial import" "http://svn.dimentiy.info/shtrih-m/Shtrih-M
POS" .

Adding ...


In second variant, spaces (and some another symbols, may be)
_automatically_ converted to "%20" (may be, additionally display warning).

Second variant is preferred, because:
- some third-party tools may use svn, and some of them may don't check URLs
- svn is cross-platform. Better, if some incompatibles resolves by software
(not user!)
- at first glance, there are no problem to implement this functionality
- cutting down Your support expenses

But current behaviour is wrong. If we can't use wrong URLs - why mkdir
successfully completed ???

WBR, Dmitriy Popkov
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 9 22:17:29 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.