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

Re: How to use 'svn diff' command

From: Alan Ezust <alan.ezust_at_gmail.com>
Date: 2007-01-19 20:20:00 CET

just typing
'svn diff'

without any arguments, from your working checked out copy, will give
you differences in all files from your current directory down the
tree, for all subdirs that are under revision control.

If you give a path, it has to be a path to a locally checked out thing
(directory or file) that is under revision control.

It seems like you are giving the path to the repository, not your
locally checked out copy. But you don't need to since the checked out
copy already has knowledge of which repo it came from.

On 1/19/07, ken carlino <ken.carlino@gmail.com> wrote:
> I have tried example from here as well:
> http://centerstageproject.com/wiki/index.php/SVN_Tutorial
>
> But that does not work either:
> $ svn diff file:///srv/svn/repositories/test/trunk
> svn: Not all required revisions are specified
>
> $ svn diff file:///srv/svn/repositories/test/tags/V1_1
> svn: Not all required revisions are specified
>
> I get this 'Not all required revisions are specified' But the example
> from the ilnk above just said I need to put 'PATH' as the argument of
> the 'svn diff' command.
>
>
>
> On 1/19/07, ken carlino <ken.carlino@gmail.com> wrote:
> > I am trying the example here (the first example) to diff between my
> > working copy and the trunk.
> >
> > http://svnbook.red-bean.com/en/1.1/re09.html
> >
> > But I get this error:
> > $ svn diff COMMITTERS
> > svn: 'COMMITTERS' is not under version control
> >
> > I try this too, and it sill does not work:
> > $svn diff TRUNK
> > svn: 'TRUNK' is not under version control
> >
> > Please help me understand how to use teh 'svn diff' command. I don't
> > know where does the argument ''COMMITTERS' come from when I try to
> > compare the BASE of my working copy.
> >
> >
> > From the example page:
> > Compare BASE and your working copy (one of the most popular uses of svn diff):
> >
> > $ svn diff COMMITTERS
> > Index: COMMITTERS
> > ===================================================================
> > --- COMMITTERS (revision 4404)
> > +++ COMMITTERS (working copy)
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 19 20:20:32 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.