Quick Tip: Subversion Change Logs For Files

Yesterday I needed to determine who last edited portions of a file with subversion, and came across a couple great suggestions on stack overflow which I’d like to share here.

Subversion offer a few ways to perform this task, including the following two methods I learned yesterday;

1. The first method returns the log of previous revisions on the file and is ideal when you need to review a more detailed change log.

 svn log --diff filename 

2. The second method is more concise, and only provides the revision number and author name for the last change to a specific file’s line. This approach is performed with the aptly named subcommand blame.

 svn blame filename 
Advertisements

Quick Tip: How to increase the console log size in Firefox

Recently I discovered that the console log size in Firefox has a default limit, which prevented me from viewing the full output from a script I was running.

If you find yourself with the same problem, you can change the size of the console log by following these steps.

Steps:

1) Access the Firefox config file by typing about:config in the browser’s address bar and hitting enter.

2) You will than likely receive a warning message about the risks of changing your browser’s configuration, which you will need to accept before proceeding. Note: Make sure you fully understand the risks of changing any configuration settings before you apply your changes.

3) Search for the preference name devtools.hud.loglimit.console, which should than appear as the only preference in the search results list.

4) Lastly, double click on the preference name and a popup window will allow you to alter the size of the console log from the default value to one you specify.

fficl01172016

Screen-shot of changing the console log size in Firefox