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

Re: svn commit: rev 3261 - trunk/subversion/include trunk/subversion/libsvn_ra_local trunk/subversion/libsvn_client trunk/subversion/mod_dav_svn trunk/subversion/clients/cmdline trunk/subversion/libsvn_ra_dav

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-10-03 19:45:00 CEST

Philip Martin <philip@codematters.co.uk> writes:

> > + svn_wc_adm_access_t *adm_access;
> > + const svn_wc_entry_t *entry;
> > + SVN_ERR (svn_wc_adm_probe_open (&adm_access, NULL, target,
> > + FALSE, FALSE, pool));
> > + SVN_ERR (svn_wc_entry (&entry, target, adm_access, FALSE, pool));
> > + SVN_ERR (svn_wc_adm_close (adm_access));
> > + URL = entry->url;
>
> If target is an unversioned item then entry will be NULL.

Thank you! Indeed, 'svn pl -rHEAD ecegjkocte' causes a segfault.
I have to fix this same code block in a few places...

God bless your code reviews. :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 3 19:46:59 2002

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.