You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Joerg Hessdoerfer <Jo...@sea-gmbh.com> on 2003/06/10 13:49:56 UTC

svn up problem...

Hi!

I just did a 'svn up -r 2 secs_to_string.vi' in my WC. SVN reported:

D secs_to_string.vi

which is correct, since it didn't exist in revision 2.
But, how do I get the file back?
'svn up' reports

At revision 50.

'svn up secs_to_string.vi' reports

svn: warning: svn_wc_is_root: 'secs_to_string.vi' is not a versioned resource

What can I do to get back a proper WC _with_ the file a the correct revision 
short of doing a new checkout of the complete WC?

Greetings,
	Joerg
-- 
Leading SW developer  - S.E.A GmbH
Mail: joerg.hessdoerfer@sea-gmbh.com
WWW:  http://www.sea-gmbh.com


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

Re: svn up problem...

Posted by Max Bowsher <ma...@ukf.net>.
Joerg Hessdoerfer wrote:
> Hi!
>
> I just did a 'svn up -r 2 secs_to_string.vi' in my WC. SVN reported:
>
> D secs_to_string.vi
>
> which is correct, since it didn't exist in revision 2.
> But, how do I get the file back?
> 'svn up' reports
>
> At revision 50.
>
> 'svn up secs_to_string.vi' reports
>
> svn: warning: svn_wc_is_root: 'secs_to_string.vi' is not a versioned
resource
>
> What can I do to get back a proper WC _with_ the file a the correct
revision
> short of doing a new checkout of the complete WC?

I'm pretty sure svn revert would work.


Max.


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

Re: svn up problem...

Posted by Joerg Hessdoerfer <Jo...@sea-gmbh.com>.
Hi!

On Tuesday 10 June 2003 16:26, Ben Collins-Sussman wrote:
[...]
>
> [... ugh, newfile didn't get re-added, because the client told the server
> (erroneously) that it "had a complete rev. 5 of parent directory". ]
>
> Oh wait... this looks like issue #919:
>
>    http://subversion.tigris.org/issues/show_bug.cgi?id=919
>
> Yup.  This is a known bug.  :-)

Yuck. Didn't check thoroughly enough...
I guess I have to learn the query page better ;-)

Thanks and sorry for wasting bandwidth,
	Joerg
-- 
Leading SW developer  - S.E.A GmbH
Mail: joerg.hessdoerfer@sea-gmbh.com
WWW:  http://www.sea-gmbh.com


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

Re: svn up problem...

Posted by Ben Collins-Sussman <su...@collab.net>.
Joerg Hessdoerfer <Jo...@sea-gmbh.com> writes:

> It's NOT easy to reproduce, though. I just tried ra_local in a new
> repository with 2 files, and voila, works as expected. (Read: svn up
> works). In my other (quite large, ~500MB) repo, it doesn't (see
> above).
> 
> Any ideas?

Yeah, this is definitely a client bug.  Looks like another 'ghudson'
bug.

Here's my repro recipe, using HEAD:

$ echo "bbo" >> newfile
$ svn add newfile 
A         newfile
$ svn ci -m "add newfile"
Adding         newfile
Transmitting file data .
Committed revision 6.
$ svn up
At revision 6.
$ svn up -r 5 newfile
D  newfile
Updated to revision 5.
$ more .svn/entries 

[... newfile is GONE from entries file, rather than being marked 'deleted' ]

$ svn up
At revision 6.

[... ugh, newfile didn't get re-added, because the client told the server
(erroneously) that it "had a complete rev. 5 of parent directory". ]

Oh wait... this looks like issue #919:

   http://subversion.tigris.org/issues/show_bug.cgi?id=919

Yup.  This is a known bug.  :-)

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

Re: svn up problem...

Posted by Joerg Hessdoerfer <Jo...@sea-gmbh.com>.
Hi,

On Tuesday 10 June 2003 15:58, Ben Collins-Sussman wrote:
> Joerg Hessdoerfer <Jo...@sea-gmbh.com> writes:
> > What can I do to get back a proper WC _with_ the file a the correct
> > revision short of doing a new checkout of the complete WC?
>
> "svn up"   :-)
>
That's what I tried...
Response:
'At revision 50.'
No file :-*
Ah, yes, I'm running 0.23.0 both on client and server over ra_dav...

On Tuesday 10 June 2003 15:59, Max Bowsher wrote:
> Joerg Hessdoerfer wrote:
[...]
>
> I'm pretty sure svn revert would work.
>
>
No. Response:
svn: warning: svn_wc_is_root: 'secs_to_string.vi' is not a versioned resource

And besides, the text-base file is gone, too.

It's NOT easy to reproduce, though. I just tried ra_local in a new repository 
with 2 files, and voila, works as expected. (Read: svn up works). In my other 
(quite large, ~500MB) repo, it doesn't (see above).

Any ideas?

Greetings,
	Joerg
-- 
Leading SW developer  - S.E.A GmbH
Mail: joerg.hessdoerfer@sea-gmbh.com
WWW:  http://www.sea-gmbh.com


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

Re: svn up problem...

Posted by Ben Collins-Sussman <su...@collab.net>.
Joerg Hessdoerfer <Jo...@sea-gmbh.com> writes:

> What can I do to get back a proper WC _with_ the file a the correct revision 
> short of doing a new checkout of the complete WC?

"svn up"   :-)

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

Re: svn up problem...

Posted by Philip Martin <ph...@codematters.co.uk>.
Joerg Hessdoerfer <Jo...@sea-gmbh.com> writes:

> I just did a 'svn up -r 2 secs_to_string.vi' in my WC. SVN reported:
>
> D secs_to_string.vi
>
> which is correct, since it didn't exist in revision 2.
> But, how do I get the file back?

That's issue 919

http://subversion.tigris.org/issues/show_bug.cgi?id=919

-- 
Philip Martin

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