Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: updating single file to older revision

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Back to topic list

Re: updating single file to older revision

Author simonlarge
Full name Simon Large
Date 2009-01-29 02:44:29 PST
Message 2009/1/29 enomis <enomis at gmail dot com>:
> On Jan 29, 10:36 am, Simon Large <simon.tortoise..​.@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

« Previous message in topic | 4 of 4 | Next message in topic »

Messages

Show all messages in topic

updating single file to older revision enomis <enomis at gmail dot com> enomis <enomis at gmail dot com> 2009-01-29 00:51:06 PST
     Re: updating single file to older revision simonlarge Simon Large 2009-01-29 01:36:38 PST
         Re: updating single file to older revision enomis <enomis at gmail dot com> enomis <enomis at gmail dot com> 2009-01-29 02:39:13 PST
             Re: updating single file to older revision simonlarge Simon Large 2009-01-29 02:44:29 PST
Messages per page: