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

svnlook & perl question

From: Taras <taras.judge_at_shaw.ca>
Date: 2004-05-21 23:29:16 CEST

Hello,
I'm looking for some clues on how to get subversion to tell me what's in
a repository. So far I've been using svnlook to show me changed files in
a particular revision. However it behaves strangely on directory renames.
For example renaming a dir "zoo" with 2 files in it to "a0" produces the
following changes
A vancouver_island/a0/
D vancouver_island/zoo/

So I'm at all at how to catch directory renames. If one tries to do
multiple directory renames in one commit, how would my script be able to
figure out which directories got renamed?

I also tried to use svnlook tree command, but it produces strange
version numbers and I'm not sure how to handle them. Is there any
documentation explaining the format of the revision strings?
I looked into the perl bindings but there is next to no documentation on
them and the code seems pretty hard to understand. is there an example
anywhere on how to list all files in a repository using pure perl?

Taras

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 21 23:34:37 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.