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

Re: problems with svn diff [file]

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-01-09 00:31:47 CET

Garrett Rooney <rooneg@electricjellyfish.net> writes:
> the recent change to svn diff appears to have broken the 'svn diff
> foo' functionality...

Yeah, I'm seeing this too. What I'd like to know is, why didn't the
regression test catch it? I'll look into that.

-K

> starting with revision 751 (750 works fine), if you run svn diff
> [filename], you get the following output...
>
> rooneg@quicksilver:~/svn> ./subversion/clients/cmdline/svn diff configure.in
>
> apr_error: #20, src_err 0 : <Not a directory>
> ./configure.in/.svn/entries
> rooneg@quicksilver:~/svn>
>
> wheras with 750, you get:
>
> rooneg@quicksilver:~/svn> ./subversion/clients/cmdline/svn diff configure.in
> Index: configure.in
> ===================================================================
> --- .svn/text-base/configure.in.svn-base Tue Jan 8 18:06:48
> 2002
> +++ configure.in Tue Jan 8 18:13:27 2002
> @@ -1,3 +1,4 @@
> +this is a change!
> dnl Process this file with autoconf to produce a configure script.
>
> dnl Autoconfiscation for Subversion
> rooneg@quicksilver:~/svn>
>
> it looks like we're passing a file to svn_wc_entries_read, which is
> expecting a directory, so when it tries to open the .svn/entries file
> in it, it bails because there is no .svn/ subdir, since we aren't a
> directory!
>
> i'm not sure exactly where the bug is, but i'm still looking...
>
> -garrett
>
> --
> garrett rooney Unix was not designed to stop you from
> rooneg@electricjellyfish.net doing stupid things, because that would
> http://electricjellyfish.net/ stop you from doing clever things.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:55 2006

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