Uh oh - I think I pooched the SVN repository

The last two commits were pretty complex and I think something got
screwed up in the SVN repository. I think we did some transforms that my
layout transform script is not getting right.

It looks like I need to rollback two versions in the repository.
However, I can’t do a clean checkout right now to fix it. Does anyone
know how to rollback a couple of versions in the SVN repository when you
don’t have a clean checkout?

Thanks,
-John

The last two commits were pretty complex and I think something got screwed up in the SVN >>repository. I think we did some transforms that my layout transform script is not getting right.

It looks like I need to rollback two versions in the repository. However, I can’t do a clean >>checkout right now to fix it. Does anyone know how to rollback a couple of versions in the SVN >>repository when you don’t have a clean checkout?

Some more information:

It looks like what’s causing the problem is the fact that the casing of
the AST directory name was changed. So SVN has a AST and an Ast
directory, but on Windows that resolves to the same directory which
causes things to freak out.

Now that I know what the problem is I can fix the Rakefile. But I still
need to figure out how to roll the SVN server back to revision #44 (last
known good).

Ideas?

Thanks,
-John

2007/10/23, John L. (DLR) [email protected]:

Now that I know what the problem is I can fix the Rakefile. But I still need to figure out how to roll the SVN server back to revision #44 (last known good).

Ideas?

svnadmin dump -r 1:44 repository > dump
svnadmin create new_repository
svnadmin load new_repository < dump

On Tue, 23 Oct 2007 00:36:16 -0600, Sanghyeon S. [email protected]
wrote:

svnadmin dump -r 1:44 repository > dump
svnadmin create new_repository
svnadmin load new_repository < dump

Nice! I’ve been wondering the same. Now I know…

As always, thanks, Seo!


/M:D

M. David P.
http://mdavid.name | http://www.oreillynet.com/pub/au/2354 |
http://dev.aol.com/blog/3155

2007/10/23, Brent R. [email protected]:

The dump/load routine Sanghyeon suggested
should work if you have shell access on the server, but if you have shell
access on a system with a case-sensitive file system, using the usual system
seems less drastic.

Since the server in this case is RubyForge, and RubyForge doesn’t
allow shell access, the simplest solution would be to file a support
request to RubyForge Support tracker with dump/load commands.

http://rubyforge.org/projects/support/

Couldn’t you just get someone (or hop on) with a Linux system or other
case-sensitive system to do the checkout, remove the AST directory and
check back in?

Cory

Another thought is to rename the Ast directory, commit that, delete the
AST directory, commit that, and then rename whatever you called Ast back
to Ast and commit that.

Cory

The usual method (
http://svnbook.red-bean.com/en/1.4/svn.branchmerge.commonuses.html#svn.branchmerge.commonuses.undo)
is unlikely to work without a case-sensitive file system, which would be
necesary for a clean checkout. The dump/load routine Sanghyeon
suggested
should work if you have shell access on the server, but if you have
shell
access on a system with a case-sensitive file system, using the usual
system
seems less drastic.

Brent R.

Not for the faint of heart, but wouldn’t this do it:

?> svn merge -r LASTEST:DESIRED http://svn.ruby-i
-don’t-know-the-url/trunk http://svn.ruby-i -don’t-know-the-url/trunk

From: [email protected]
[mailto:[email protected]] On Behalf Of John L. (DLR)
Sent: Monday, October 22, 2007 10:37 PM
To: [email protected]
Subject: [Ironruby-core] Uh oh - I think I pooched the SVN repository

The last two commits were pretty complex and I think something got
screwed up in the SVN repository. I think we did some transforms that my
layout transform script is not getting right.

It looks like I need to rollback two versions in the repository.
However, I can’t do a clean checkout right now to fix it. Does anyone
know how to rollback a couple of versions in the SVN repository when you
don’t have a clean checkout?

Thanks,

-John

This email is intended solely for the recipient. It may contain
privileged, proprietary or confidential information or material. If you
are not the intended recipient, please delete this email and any
attachments and notify the sender of the error.

Sanghyeon S.:

svnadmin dump -r 1:44 repository > dump
svnadmin create new_repository
svnadmin load new_repository < dump

Thanks, Seo! I’ve forwarded this onto Tom C., the sysadmin for
Rubyforge.

-John

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs