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

Easy way to check type of elements returned by svn_fs_paths_changed?

From: LUCAS DE RODRIGO IGNACIO <idelucas_at_typsa.es>
Date: 2005-08-09 12:31:46 CEST

Hi all,
     I'd like to know if there's an easy way to ascertain if
each element returned by svn_fs_paths_changed is a file or
directory. The svn_fs_path_change_t's returned do contain each
noderev ids, but to my knowledge there's no way to know if a
given noderev corresponds to a file or directory.

The only solution I can think of is simply to check the path
with svn_fs_is_dir (or svn_fs_is_file). The problem is that
on "delete" noderevs, both will fail, so I'd have to check
the previous revision. Which in turn forces me to obtain a
new root.

Any easier way to do all this? Thanks in advance!

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 9 12:32:32 2005

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.