You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by John Peacock <jp...@rowman.com> on 2005/12/26 19:57:24 UTC
'svnlook changed' inconsistent with 'svn up'
I'm working on a Perl module that has no need to employ the Perl bindings, so I
am using the CLI programs. While writing a script to walk a repository and
generate Perl data structures to compare against files on disk, I discovered
that the 'svnlook changed' output differs from what 'svn up' displays.
For example:
> $ svn up -r5
> A project1/branches/branch1/dir2
> A project1/branches/branch1/dir2/file4
> A project1/branches/branch1/file3
> Updated to revision 5.
vs.
> $ svnlook changed -r5 ../test-repos
> A project1/branches/branch1/dir2/
> A project1/branches/branch1/dir2/file4
> A project1/branches/branch1/file3
svnlook displays directory names with a trailing slash (arguably the correct
output), and 'svn up' doesn't. I don't see a bug about this issue. Should I
file one?
John
--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: 'svnlook changed' inconsistent with 'svn up'
Posted by Julian Foad <ju...@btopenworld.com>.
John Peacock wrote:
[...]
> the 'svnlook changed' output differs from what 'svn up' displays.
>
>>$ svn up -r5
>>A project1/branches/branch1/dir2
[...]
>>$ svnlook changed -r5 ../test-repos
>>A project1/branches/branch1/dir2/
>
> svnlook displays directory names with a trailing slash (arguably the correct
> output), and 'svn up' doesn't. I don't see a bug about this issue. Should I
> file one?
It seems that the only commands that print a final slash are:
svnlook {changed,dirs-changed,tree}
svn list
The rest don't:
svnlook diff ("Property changes on: dir")
svnlook history (reports on either a dir or a file, not a mixture)
svn {add,ci,co,copy,move,delete,...}
I like the final slash, and I like consistency among commands. What should we do?
- Julian
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org