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

"svn log -v" vs. "svnlook changed"

From: Ray Johnson <Rayj_at_ingenio.com>
Date: 2004-09-20 20:59:23 CEST

 
I'm creating a repository browser for Subversion - which currently uses
command line calls to "svn" to do all the work. It's works pretty well
(I plan to make it public/open source sometime soon.)
 
I have one issue though which trying to view a "revision". The problem
I have is with what is returned from "svn log -v". There is really some
missing information in the "paths" section. For example:
 
1) Directories do not end in a "/" like in "svn log". Which makes it
impossible (without additional calls) to determine which changes are to
directories.
 
2) The "action" attribute appears to just return A, M or D. There is no
way to determine if the change is to the file or a property. If a
property changed why isn't the action set to "_M"?
 
Not sure why the output isn't more like the "svnlook changed" command.
It provides the "/" at the end of directories (which seems like a
consistent behavior with the exception of "svn log -v" command.) The
"changed" columns also will tell you if it is a property that changed.
 
Seems like a bug to me that paths and change flags are not more
consistent through the tools.
 
BTW, I would just use "svnlook changed" for my application - but I would
like to pass in a URL - not a file system path as I may not have access
to the file system path. Is there a good reason why svnlook doesn't
accept a URL to the repository?
 
Ray
Received on Mon Sep 20 20:59:32 2004

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

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