rblog

How to undelete files in subversion

I accidentally deleted a bunch of directories using “svn delete” about a month ago, and now we realized that we needed them. So, question was – how to do undelete in Subversion since svn does not have a undelete-command. Then ‘svn copy -r REVISON’ to the rescue. First attempt solution found at jappler.com

svn copy -r NUMBER NAMEOFDIRECTORY NAMEOFDIRECTORY

The above command resulted in “NAMEOFDIRECTORY not a working copy”…damn!!! But then I found a slightly different way of doing it at www.canfield.com and I did

svn copy -r NUMBER https://{URL}/NAMEOFDIRECTORY NAMEOFDIRECTORY

Success…and if you are unsure of your svn url, just type ‘svn info’

Then to commit a list of folders in one operation I found the solution at Stackoverlow.com

cat mblade_list.txt | xargs svn commit -m “Restored”

Anders Frankson og Niklas Zetterling “Slaget om Kursk”

The story about the battle of Kursk. Quite interesting book, off course a lot of name of various places and a lot of numbers making it a bit hard to hang in there, but also much focus on how the life of a solider was from day to day. Enjoyed the focus on the differences in leadership between the allied, here represented by the Russians, and the axis. Where the Russians focused on leadership from above, the Germans let soldiers on all levels decide during the battle, making the German army way more effective. They did not have to wait on orders from above when deciding what to do on the battlefield. Such things make the book worth reading, but still, you have to be interested in WW2 to really enjoy the book.

Planning to buy a new bike?

Then you have several options, you could choose to go for the safe, conservative and very common alternative – bikes that has bike chains.

But if you want to be more innovative, maybe want to prove that you are an early adopter in the urban market (ha-ha), you could go for the Trek District Bike. It uses a belt instead of a chain, in fact it might be a good alternative for my single speed. I have already had to replace two chains this year, and I give the one mounted on it right now just another month before that one must be replaced as well.

But you can be even more innovative, take a look at the Stringbike. That is for sure innovation! But it looks a bit complicated I must admit.

[video:youtube:z4PAzalfpww]

Contrails at Vestreng

Originally I planned to use the word “cemtrails“, but realizing that it might cause some misunderstanding, I use the correct word instead, which is contrails. But even still, I find it a bit interesting how much time and effort people can spend when it comes to conspiracy theory’s. But then again, for them it is the truth…nice pictures anyhow

Microscopic step for mankind, a giant leap for me

Pictures taken yesterday morning. The first one showing our bread knife and the toaster and no bread. That’s good news since I have used my right arm cutting the bread all by myself (and then eat it)

And here you have me, very pleased since I have managed to put on a normal t-shirt all by myself! Good thing after having spent the past two weeks wearing t-shirt of wool, very warm, but so stretchy that I managed to put them on. My arm keeps getting better and better each day…

Hjem