Sunday, March 23, 2008

Tedious Holidays

Thursday - House cleaning in the morning, and go home in the afternoon. But when I arrived at the terminal, all the buses are full. So I went back home, left my bag in my room and watched "Weeds" episodes. This series is superb, from dialogues to plot twists and the laughter. Then I did some groceries because all stores will be close on Friday.

Friday - Since I wasn't able to go home, I cooked my first paella. I have been memorizing the recipe I got in the internet so when it was about time to cook, I tried to recall all that is on the recipe. A friend of mine paid me a visit in the afternoon. Evening came, I went to a friend's house because I was alone at home at stayed at their place until saturday.

Saturday - I woke up late and supposed to go home earlier. I was still at a friend's house and hurriedly went back to the apartment to get my things. I arrived at the terminal at 2pm, got on the bus and arrived at my most unlikable place on earth, my hometown. I don't like the place but my parents are here. In the evening, my father borrowed the trisikad of my brother so we could roam around the poblacion. Then got stuck at my cousins place. We ate balut, have a lot of catching up. Slept!

Sunday - Again I woke up late, and told my parents that we should get together at the beach. I hand out some cash to my father to buy some food for baon. When everything was settled, we went to the beach, with my cousins and pamangkins. At the beach, I only looked at the huge waves and dirty gulf. There must have been some landslide somewhere because there where lots of logs and leaves around the beach. We went home late in the afternoon with no one got wet.

Monday - I woke up early, had a cup of coffee and a cigarette. Prepared my things and headed for the terminal. Unfortunately, I came late in the office and with a news that my laptop is still unusable. Darn!

I'm out!

Sunday, March 02, 2008

Something Technical: Using Tortoise on Visual Studio 2005

When I transferred in this company, I asked around for the source control they are using. They were using

SVN and Tortoise. Well, I was glad that I was familiar with Tortoise, but using it for Visual Studio 2003?

I was used to Visual Sourcesafe 2005 (VSS). VSS works will for Visual Studio because the controls are on

the Visual Studio IDE already. When using Tortoise, I would have to open a separate window, for Explorer,

to Check-In, Update and Lock a file while the VSS Commands is already part of the Visual Studio IDE.

I searched the internet for solutions and found one that gave me a complicated instruction which I finally did able to accomplished. So I made another example of how to attain a command inside the Visual Studio IDE without having to open an Explorer to manipulate the source control:

Hope this will be easy for you:


1. Go to Tools->External Tool

2. Add The ff:
Title: Update
Command: C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe
Arguments: /command:update /path:"$(SolutionDir)" /notempfile

Title: Log
Command: C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe
Arguments: /command:log /path:"$(SolutionDir)" /notempfile

Title: Check for Modification
Command: C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe
Arguments: /command:repostatus /path:"$(SolutionDir)" /notempfile

Title: Lock
Command: C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe
Arguments: /command:lock /path:"$(SolutionDir)" /notempfile

Title: Revert
Command: C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe
Arguments: /command:update /path:"$(SolutionDir)" /notempfile

Title: Commit
Command: C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe
Arguments: /command:update /path:"$(SolutionDir)" /notempfile

3. Customize your toolbar by right clicking on any part of the toolbar.

4. Go to Toolbars Tab and Click New.

5. Name the toolbar as Tortoise.

6. Click on the Commands Tab and select Tools from the Category. (The commands added will be named as External Command N. If you cannot locate the commands you just added, you may close the Customize Dialog Box and count where the command was place then do the Customization again.)

7. Drag the Commands to the New Toolbar.


----Placing Icons


8. After all of the Commands are placed, click Rearrange Commands and select Toolbar. Select Tortoise from the dropdown menu.

9. Right click the first image below and select copy (use Firefox!). On the VS IDE, select the Control for Update, click



Modify Selection, then select Paste Button Image. You may need to edit the image if there are black spots.

(To edit, select Modify Selection -> Edit Button Image). Make sure that on the Modify Selection, the Default Style is selected. Do the placing of image for all controls.

10. That's it, open the copy of your project that is connected to SVN.


I'm out!