You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Yves Bergeron <yv...@shq.gouv.qc.ca> on 2005/06/27 20:01:31 UTC

merge --dry-run to get diff between two branches

Hi,
 
I would like to use this subversion subcommands to get a summary of the
differences between two branches with subversion 1.2:
 
cd wc/trunk
svn merge --dry-run http://shq-xsrc01:8080/demosvn/tags/prod \
                   
http://shq-xsrc01:8080/demosvn/branches/correctifs-prod 
 
I get this message:
 
svn: A working copy merge source needs an explicit revision
 
Also, the latest documentation about this subcommand is not very
helpful.  It doesn't seems to be up to date with the usage.
 
Thank you for any help.
 
 


� Le pr�sent courriel peut contenir des renseignements confidentiels et ne s'adresse qu'au destinataire dont le nom appara�t ci-dessus. Si ce courriel vous est parvenu par m�garde, veuillez le supprimer et nous en aviser aussit�t. Merci. �

Re: merge --dry-run to get diff between two branches

Posted by Ben Collins-Sussman <su...@collab.net>.
On Jun 27, 2005, at 3:01 PM, Yves Bergeron wrote:

> Hi,
>
> I would like to use this subversion subcommands to get a summary of  
> the differences between two branches with subversion 1.2:
>
> cd wc/trunk
> svn merge --dry-run http://shq-xsrc01:8080/demosvn/tags/prod \
>                     http://shq-xsrc01:8080/demosvn/branches/ 
> correctifs-prod


'svn merge' does not give difference summaries, really  It applies  
changes to a working copy.  But I guess you know that already.

(It just so happens, however, that some devs *are* working on a new  
option to 'svn diff URL1 URL2' to print status codes, rather than  
unified diffs.  I can't wait for that.)


>
> I get this message:
>
> svn: A working copy merge source needs an explicit revision
>

Is 'trunk' related to the two URLs?  Do you get any output -before-  
that error?



> Also, the latest documentation about this subcommand is not very  
> helpful.  It doesn't seems to be up to date with the usage.

Um, can you be more specific?  :-)


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