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

RE: Feature suggestion: --dry-run on update

From: Rob Hubbard <Rob.Hubbard_at_celoxica.com>
Date: 2006-10-10 10:38:18 CEST

Hello Murli,

There are three versions of a file of interest:
(i) the BASE
(ii) the HEAD
(iii) your working copy

The commands
        "svn diff file"
        "svn diff file -rBASE"
compare (i) with (iii);
the command
        "svn diff file -rBASE:HEAD"
compares (i) with (ii);
and, the command
        "svn diff file -rHEAD"
compares (ii) with (iii).

There is no explicit alias for the "WORKING_COPY". If you specify only one revision then the other "revision" is the working copy (but it's not really a revision, of course).

I hope that answers your question.

Rob.

> -----Original Message-----
> From: Murli Varadachari [mailto:murli@yahoo-inc.com]
> Sent: 09 October 2006 19:20
> To: Rob Hubbard; 'Subversion Mailing List (E-mail)'
> Subject: RE: Feature suggestion: --dry-run on update
>
>
>
> On a related note is there a way to diff modified files in my
> WS with the
> latest on the branch ? The assumption here is that
>
> (a) since my last update new revisions have been added to the
> same branch by
> a different user.
>
> (b) several files have been modified in my workspace that
> could potentially
> conflict with the newer revisions.
>
> I tried a couple of combinations I.e
>
> svn diff // diffs of modified files against BASE revisions
>
> svn diff BASE:HEAD // diffs of BASE revisions against latest on branch
>
> How do I diff my local changes v/s latest on branch
>
> Cheers
> murli
>
>
>
>
>
> -----Original Message-----
> From: Rob Hubbard [mailto:Rob.Hubbard@celoxica.com]
> Sent: Monday, October 09, 2006 8:03 AM
> To: Subversion Mailing List (E-mail)
> Subject: Feature suggestion: --dry-run on update
>
> Hello,
>
> The "merge" subcommand of svn has a "--dry-run" option. The "update"
> subcommand is related to merge; it would be useful to be able to use
> --dry-run on an update operation.
>
> It is possible, using "svn st -u" to see which files have
> been both updated
> in the repository and modified locally (and are thus conflict
> candidates).
> However, this command does not show which files will actually
> conflict. A
> "dry run" would do so.
>
> Thanks,
> Rob.
>

_____________________________________________________________________
This message has been checked for all known viruses by the MessageLabs Virus Scanning Service, on behalf of Celoxica Ltd.

This email and any files transmitted with it are confidential and
may be legally privileged. It is intended solely for the use of the
individual or entity to whom it is addressed. If you have received
this in error, please contact the sender and delete the material
immediately. Whilst this email has been swept for viruses, you
should carry out your own virus check before opening any
attachment. Celoxica Ltd accepts no liability for any loss or
damage which may be caused by software viruses or interception
or interruption of this email.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 10 10:39:11 2006

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.