You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Nick Patavalis <np...@efault.net> on 2004/08/02 22:36:51 UTC

svn diff --notice-ancestry: strange behavior

I noticed the following strange behavior using svn 1.0.6 (built from
the source tarball, running on linux, with db-4.2.52, with apr from
apache 2.0.50, accessing the repos through svnserve). I do:

   svn diff --notice-ancestry \
            --old svn://host/rep/proj/branches/b1/dir1 \
            --new svn://host/rep/proj/trunk/dir1

And I see a file in "dir1" getting deleted and added-back again with
exactly the same contents. This what I expected to see. Then I do:

   svn diff --notice-ancestry \
            --old svn://host/rep/branches/b1/dir1 \
            --new ./dir1

Where "dir1" is a fully up-to-date working copy, and I see no
differences. It seems as if "--notice-ancestry" was ignored in the
latter invocation. Is this reasonable, or am I doing something wrong?

Thanks in advance for for your replies
/npat

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn diff --notice-ancestry: strange behavior

Posted by Nick Patavalis <np...@efault.net>.
On Mon, Aug 02, 2004 at 05:41:45PM -0500, Ben Collins-Sussman wrote:
> On Mon, 2004-08-02 at 17:36, Nick Patavalis wrote:
> 
> >    svn diff --notice-ancestry \
> >             --old svn://host/rep/branches/b1/dir1 \
> >             --new ./dir1
> 
> My understanding is that 'svn diff --old URL --new working_copy' isn't
> supported at all in the svn 1.0.x line.  Are you sure that's working? 
> Aren't you getting an error?
>

You 're right! It seems like diff ignores the "--old" argument
altogether! It behaves as if I was doing just "svn diff ./dir1".

Is there a list of other such "gotchas" posted someplace?

Thnaks
/npat

-- 
If you want to travel around the world and be invited to speak at a
lot of different places, just write a Unix operating system.
  -- Linus Torvalds

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn diff --notice-ancestry: strange behavior

Posted by Ben Collins-Sussman <su...@collab.net>.
On Mon, 2004-08-02 at 17:36, Nick Patavalis wrote:

>    svn diff --notice-ancestry \
>             --old svn://host/rep/branches/b1/dir1 \
>             --new ./dir1

My understanding is that 'svn diff --old URL --new working_copy' isn't
supported at all in the svn 1.0.x line.  Are you sure that's working? 
Aren't you getting an error?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org