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

RE: Re: svn -v list shows '.' in new version

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Fri, 03 Jul 2009 17:08:39 +0100

Andy Salnikov wrote:
> > Andy Salnikov wrote:
> > > > Andy Salnikov wrote:
> > > > > We have upgraded from SVN 1.4 to 1.6 and I noticed one small
> > > > > inconsistency in the output produced by 'svn -v list' command.
[...]
> > > > Thanks for the report. I think this is an unintentional change - in
> > > > other words, a regression.

Looking at the code now, it looks like the behaviour is intentional.
There's specific code to produce that result, with a comment:

subversion/svn/list-cmd.c: print_dirent():

  if (strcmp(path, "") == 0)
    {
      if (dirent->kind == svn_node_file)
        entryname = svn_dirent_basename(abs_path, pool);
      else if (pb->verbose)
        entryname = ".";
      else
        /* Don't bother to list if no useful information will be shown.
*/
        return SVN_NO_ERROR;
    }
  else
    entryname = path;

> I tried to submit a bug, but the Issue Tracker does not let me do it.
> Here is the message I get from it:
>
> """
> Enter issue
> Permission denied
>
> Enter issue
> The user '0' does not have the permissions necessary to perform this
> action or the session has timed out.
>
> Please Login and try again.
> """
>
> Not sure what the problem is, I made sure that I'm logged in.

Sorry, I don't know what's up with the issue tracker.

> As for fixing it myself - unfortunately I can not spend much more time
> on it than simply reporting what I see.

That's OK. Thanks for reporting.

I wrote a regression test, which is attached as a patch. But I'll check
that we agree this is a bug before I commit it. Sorry, no time to look
further right now.

- Julian

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2367839

Received on 2009-07-03 18:09:03 CEST

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.