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

Re: updating single file to older revision

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Thu, 29 Jan 2009 10:44:28 +0000

2009/1/29 enomis <enomis_at_gmail.com>:
> On Jan 29, 10:36 am, Simon Large <simon.tortoise..._at_googlemail.com>
> wrote:
>
>>
>> You updated the file to an old revision, but you haven't made any
>> changes to it, so what is there to commit? And if you did change it
>> your commit would fail because you can only commit a file when
>> modifications are made against HEAD (or at least there have been no
>> repository changes between the revision you have and HEAD).
>>
>> Please read the manual page on "update to revision" as it is explained
>> there. I also suggest you read at least the basics chapter of the
>> subversion book to gain an understanding of how subversion works.
>>
>> Simon
>
> Thanx for your answer,
> you mean that if i update a single file to its older revision it's ok
> if i dont see graphical signal (green icon) that the file is not
> identical to the actual HEAD revision? You dont have a gray, or dusted
> icon to show this situation?

Correct. The TSVN displays the status that the subversion library
returns, which is that the file is 'normal'. Mixed revisions are
perfectly normal within a working copy. The fact that you have
manually backdated to an earlier revision is not stored in the working
copy data.

As you will note in the TSVN docs, we don't recommend updating
individual files to an old revision for this very reason.

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1068176
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-29 11:45:05 CET

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.