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

Re: simple question about "svn merge"

From: Robert P. J. Day <rpjday_at_mindspring.com>
Date: 2004-03-21 18:26:34 CET

On Sun, 21 Mar 2004, Ben Collins-Sussman wrote:

> On Sun, 2004-03-21 at 10:46, Robert P. J. Day wrote:
> > reading the reference page on "svn merge", all of it seems
> > straightforward, except for the last example:
> >
> > $ cd myproj
> > $ svn merge -r 30:31 thhgttg.txt
> > U thhgttg.txt
> >
> > i can see that this appears to be merging a change into your local
> > working copy of the file "thhgttg.txt". but what file is being used as
> > the basis to get the diff between revisions 30 and 31?
> It's using the URL for your working file 'thhgttg.txt'. That is, it's
> comparing two versions of that URL, and then merging it into your
> working file.

yup, i got that part now, the URL being the full URL corresponding to the
source of that file, right?
> > svn merge -r N:M SOURCE [PATH]
> >
> > but there's no definition of PATH anywhere that i can see.
> Correct. If [PATH] is left off, then 'svn merge' generally assumes a
> default value of '.' -- however, if you're comparing two versions of a
> single file, and a working file by the same name exists, it will assume
> a default [PATH] of the working file. This is briefly mentioned in
> chapter 4, it might be discussed in the reference section too.

i had assumed that much about PATH, it just isn't stated explicitly in the
reference page for "svn merge", while everything else is defined, that's
all. i'm just picky when it comes to documentation.
> By the way, Robert, I get the impression that you're looking at an old
> version of the book. My PDF page numbers don't line up with yours; are
> you looking at revision 9103?

yup, but i'm using the page numbers as listed on the *printed* page, not
in the PDF file. sorry for being confusing.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Mar 21 18:29:15 2004

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