Category: Workarounds

How to Revert Your SVN Repository on Assembla

July 24, 2010 at 11:36 PM

There is no simple way to revert your repository to a previous revision on Assembla. However, a reversion is possible by following these steps.

First, export the SVN repository in your space. This can be done under the Import/Export section of your repository. It’ll take a minute for the dump to be created. Once that has completed, download the repository dump.

Then, extract the contents of the ZIP file to a temporary directory, then run the following commands in the temporary directory:

svnadmin create REPO_NAME
svnadmin load REPO_NAME < rXX.dump
svnadmin dump -r 1:YY REPO_NAME --incremental > rYY.dump
gzip rYY.dump

Replace XX with the current revision of your repository, YY with the revision you wish to revert to, and REPO_NAME with any name, such as your repository’s name. This name will not be carried over later.

Afterwards, delete the repository tool on Assembla by going to Admin -> Tools, then clicking Delete next to it which is located on the right. Now re-add the Source/SVN repository tool.

Finally, import the dump to the newly created repository by going to the Import/Export section and uploading the gzipped SVN dump. The process will take from a few to several minutes depending on how large your repository is.

Your repository should now be reverted back to the revision you specified.

There is no simple way to revert your repository to a previous revision on Assembla. However, a reversion can be done following these steps.

First, export the SVN repository in your space. This can be done under the Import/Export section of your repository. It’ll take a minute for the dump to be created. Once that’s finished download the dump.

Then, extract the contents of the ZIP file to a temporary directory, then run the following commands in the temporary directory:

svnadmin create REPO_NAME
svnadmin load REPO_NAME < rXX.dump
svnadmin dump -r 1:YY REPO_NAME --incremental > rYY.dump
gzip rYY.dump

Replace XX with the current revision of your repository, YY with the revision you wish to revert to, and REPO_NAME with whatever you like. The temporary repository name will not be carried over.

Afterward, delete the repository on Assembla by going to Admin -> Tools, then Delete it on the right. Now re-add the Source/SVN repository.

Finally, import the dump to the newly created repository by going to the Import/Export section and uploading the gzipped SVN dump. The process will take a few to several minutes depending on how big your repository is.

You’re repository should now be reverted.

Facebook Friends Edit Pencil Disappeared?

September 3, 2009 at 3:04 PM

Here’s a little annoyance, I go to edit the Friends box on my profile on Facebook to make it show more friends, and I noticed the pencil is gone. Great, and it appears people were having this issue for a few days now. I’ve even found a couple of questions on the Facebook Help Center about it. I decided to study the issue, appears it’s a CSS styling error. Appears Facebook is having a lot of these problems recently, and they haven’t fixed them but instead they have been busy publishing press blog posts and interviews, of course.

I first mentioned in that Help Center thread:

This seems to be to happening to all Boxes except for the Information one. It appears to be a CSS styling problem for the pencil not to be appearing.

I have noticed the CSS problems growing (i.e., the header). There have always been cases of boxes popping up randomly too. Hopefully Facebook doesn’t become another MySpace and fixes these issues.

Then later on I found a workaround:

Hmm, it appears I figured out how to pop it out.

If you are using Firefox and have the add-on extension Firebug, do the following:

1. Right click on the Friends label of the Friends box and click Inspect Element.
2. Here it highlights when the console pops up, right above it should say: <div id=”box_app_2356318349″ class=”box”>
This is the one you want. Note that the numbers in the ID may be different, don’t worry about this.
3. Click on the “box” part of the tag and put this in “basic_info_summary”
It should look like this afterwards: <div id=”box_app_2356318349″ class=”box basic_info_summary”>
4. Click the pencil, notice how it pops up now.

This is a workaround I’ve found, hopefully Facebook fixes this, I doubt most users will understand my instructions but I tried my best to clearly to explain them to users having this problem.

So everytime you are going to have to use that workaround to edit the Friends box, or any other box for that matter until they fix the issue (all the pencil icons except for the Information box disappeared for me -.-).

Update: These same instructions for the workaround appear to work for Chrome, according to the Help Center thread.

Update 2: Appears Facebook has fixed this issue.