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

Re: svn ls -v not showing locks with some URLs

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2006-02-15 09:12:53 CET

On Tue, 14 Feb 2006, Stefan Küng wrote:

> I guess this says all:
>
> $ svnadmin create repo
> $ svn co file:///d:/test/repo wc
> $ cd wc
> $ svn mkdir "test folder"
> $ echo test > "test folder\testfile"
> $ svn add "test folder\testfile"
> $ svn ci -m ""
> $ svn lock "test folder\testfile"
> $ svn ls -v -R file:///d:/test/repo
> 1 kueng Feb 14 18:03 test folder/
> 1 kueng O 7 Feb 14 18:03 test folder/testfile
>
> But:
> $ svn ls -v -R file:///d:/test/repo/test%20folder
> 1 kueng 7 Feb 14 18:03 testfile
>
> The lock information is lost!
>
This works correctly on trunk, since I rewrote the list function. It is a
simple URI-decoding omission.

(If this was some other language than C, I would seriously consider
introduce different types for local paths, URLs and FS paths instead of
using simple strings so the compilers typechecking could help. We've had
too many encoding bugs during the years:-(

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 15 09:13:44 2006

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.