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

Re: Difference from a previous version/revision?

From: Edwin <edwintai_at_gmail.com>
Date: Tue, 24 Aug 2010 00:33:08 -0700 (PDT)

I think "Difference from a previous revision" is useful for every day
use not "Difference from a previous version".
Is there any setting can put "Difference from a previous revision with
working copy" to Context menu? That would be helpful.
Thanks

On 8月24日, 下午2時32分, Jean-Marc van Leerdam <j.m.van.leer..._at_gmail.com>
wrote:
> Hi,
>
> On 24 August 2010 05:24, Edwin <edwin..._at_gmail.com> wrote:
>
>
>
>
>
> > Hello~I want to tell the difference between "Difference from a
> > previous revision" and "Difference from a previous version" usage.I
> > copied from document as below
> > My questions is when do we use "Difference from a previous version"?It
> > would be used very often so it puts in context menu.But,I saw those
> > discussion in previous subject is use  "Difference from a previous
> > version".
> > I think it's different about revision and version.
> > if it is possible put "Difference from a previous revision" in the
> > context menu?
> > Thanks for help.
>
> > If you want to see the difference between a particular revision and
> > your working copy, use the Revision Log dialog, select the revision of
> > interest, then select Compare with working copy from the context
> > menu.
>
> > If you want to see the difference between the last committed revision
> > and your working copy, assuming that the working copy hasn't been
> > modified, just right click on the file. Then select TortoiseSVN → Diff
> > with previous version. This will perform a diff between the revision
> > before the last-commit-date (as recorded in your working copy) and the
> > working BASE. This shows you the last change made to that file to
> > bring it to the state you now see in your working copy. It will not
> > show changes newer than your working copy.
>
> The reason for having 'version' in the menu and not 'revision' is that
> the revision number of the previous version of the file can be any
> number before the current revision. Revision numbers in SVN are
> global, thus with each commit that new revision number applies to all
> files in the entire repository.
>
> Given that most files do not change between commits, the diff between
> HEAD and HEAD -/- 1 ('diff with previous revision') is empty: files
> are identical. 'Diff with previous version' will determine the
> revision number of the most recent commit that actually modified the
> file and then create a diff between that file and the current BASE
> file.
>
> --
> Regards,
>
> Jean-Marc
> --
> .       ___
> .  @@  // \\      "De Chelonian Mobile"
> . (_,\/ \_/ \     TortoiseSVN
> .   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
> .   /_/   \_\    http://tortoisesvn.net
>
> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].- 隱藏被引用文字 -
>
> - 顯示被引用文字 -

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2650582

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-08-24 09:33:18 CEST

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

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