You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "C.A.T.Magic" <c....@gmx.at> on 2004/02/29 23:07:03 UTC

[issue?] MD5 checksums not verified for content in "text-base" -- may get corrupted data when using 'revert'

Hi.

put a file named "important.txt" in your repository
check it out to your local wording dir.
modify the "important.txt" locally.
==
be a "bad thing" and modifty something in
  ".svn/text-base/important.txt.svn-base"  !
==
use svn revert.
you get the corrupted content from the text-base !

files in the .svn folder are read-only, unfortunately
this doesn't protect them from disk read errors or from
some recursive "search&replace" utilities for example.

====
c.a.t.

Re: [issue?] MD5 checksums not verified for content in "text-base" -- may get corrupted data when using 'revert'

Posted by kf...@collab.net.
Sorry about the duplicate messages folks -- mail configuration problem
on my new laptop, should be fixed now.

-K

kfogel@collab.net writes:
> "C.A.T.Magic" <c....@gmx.at> writes:
> > its now filed as issue #1774
> > http://subversion.tigris.org/issues/show_bug.cgi?id=1774
> 
> Thanks!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

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

Re: [issue?] MD5 checksums not verified for content in "text-base" -- may get corrupted data when using 'revert'

Posted by kf...@collab.net.
"C.A.T.Magic" <c....@gmx.at> writes:
> its now filed as issue #1774
> http://subversion.tigris.org/issues/show_bug.cgi?id=1774

Thanks!

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

Re: [issue?] MD5 checksums not verified for content in "text-base" -- may get corrupted data when using 'revert'

Posted by kf...@collab.net.
"C.A.T.Magic" <c....@gmx.at> writes:
> its now filed as issue #1774
> http://subversion.tigris.org/issues/show_bug.cgi?id=1774

Thanks!

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

Re: [issue?] MD5 checksums not verified for content in "text-base" -- may get corrupted data when using 'revert'

Posted by "C.A.T.Magic" <c....@gmx.at>.
its now filed as issue #1774
http://subversion.tigris.org/issues/show_bug.cgi?id=1774

====
:-)
c.a.t.


----- Original Message ----- 
From: "C. Michael Pilato" <cm...@collab.net>
To: "C.A.T.Magic" <c....@gmx.at>
Cc: <us...@subversion.tigris.org>
Sent: Wednesday, March 03, 2004 09:09
Subject: Re: [issue?] MD5 checksums not verified for content in
"text-base" -- may get corrupted data when using 'revert'


> "C.A.T.Magic" <c....@gmx.at> writes:
>
> > Hi.
> >
> > put a file named "important.txt" in your repository
> > check it out to your local wording dir.
> > modify the "important.txt" locally.
> > ==
> > be a "bad thing" and modifty something in
> >   ".svn/text-base/important.txt.svn-base"  !
> > ==
> > use svn revert.
> > you get the corrupted content from the text-base !
> >
> > files in the .svn folder are read-only, unfortunately
> > this doesn't protect them from disk read errors or from
> > some recursive "search&replace" utilities for example.
>
> This is a bug in 'svn revert'.  Please file in issue in our issue
> tracker:
>
>    'svn revert' does not verify checksums
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


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

Re: [issue?] MD5 checksums not verified for content in "text-base" -- may get corrupted data when using 'revert'

Posted by "C. Michael Pilato" <cm...@collab.net>.
"C.A.T.Magic" <c....@gmx.at> writes:

> Hi.
> 
> put a file named "important.txt" in your repository
> check it out to your local wording dir.
> modify the "important.txt" locally.
> ==
> be a "bad thing" and modifty something in
>   ".svn/text-base/important.txt.svn-base"  !
> ==
> use svn revert.
> you get the corrupted content from the text-base !
> 
> files in the .svn folder are read-only, unfortunately
> this doesn't protect them from disk read errors or from
> some recursive "search&replace" utilities for example.

This is a bug in 'svn revert'.  Please file in issue in our issue
tracker:

   'svn revert' does not verify checksums


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

Re: [issue?] MD5 checksums not verified for content in "text-base" -- may get corrupted data when using 'revert'

Posted by "C.A.T.Magic" <c....@gmx.at>.
i don't really understand your answer..

not only programmers use subversion,
but also ppl from the graphic and office department,
and they tend to do such mistakes.
so whats wrong with checking the MD5 value
(and the date) if its there already?
or what's an MD5 good for if it isn't checked?
and many utilities provide no option for excluding
folders. and as one might expect, even
microsoft visual studio is too dumb to -exclude-
the .svn subfolders when doing a search.

====
c.a.t.


----- Original Message ----- 
From: "Nigel Jones" <di...@ignition-project.com>
To: "C.A.T.Magic" <c....@gmx.at>
Cc: <us...@subversion.tigris.org>
Sent: Monday, March 01, 2004 04:19
Subject: Re: [issue?] MD5 checksums not verified for content in
"text-base" -- may get corrupted data when using 'revert'


> C.A.T.Magic wrote:
>
> >
> > Hi.
> >
> > put a file named "important.txt" in your repository
> > check it out to your local wording dir.
> > modify the "important.txt" locally.
> > ==
> > be a "bad thing" and modifty something in
> >   ".svn/text-base/important.txt.svn-base"  !
> > ==
> > use svn revert.
> > you get the corrupted content from the text-base !
> >
> > files in the .svn folder are read-only, unfortunately
> > this doesn't protect them from disk read errors or from
> > some recursive "search&replace" utilities for example.
> >
> > ====
> > c.a.t.
> >
>
> Wouldn't you just exclude ./.svn/* from being including in such utils.
>
> Also personally I don't know of any programmers that do that, when I
> change the copyright notice in my programs I don't use one, I use myself
> at least that way  it doesn't break.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


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

Re: [issue?] MD5 checksums not verified for content in "text-base" -- may get corrupted data when using 'revert'

Posted by Nigel Jones <di...@ignition-project.com>.
C.A.T.Magic wrote:

>  
> Hi.
>  
> put a file named "important.txt" in your repository
> check it out to your local wording dir.
> modify the "important.txt" locally.
> ==
> be a "bad thing" and modifty something in
>   ".svn/text-base/important.txt.svn-base"  !
> ==
> use svn revert.
> you get the corrupted content from the text-base !
>  
> files in the .svn folder are read-only, unfortunately
> this doesn't protect them from disk read errors or from
> some recursive "search&replace" utilities for example.
>  
> ====
> c.a.t.
>  

Wouldn't you just exclude ./.svn/* from being including in such utils.

Also personally I don't know of any programmers that do that, when I 
change the copyright notice in my programs I don't use one, I use myself 
at least that way  it doesn't break.

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