svn category archive

6 November 2007

NautilusSvn and New Emblems

After writing last week about how I missed the Windows-only Tortoise(CVS|SVN) in GNU/Linux and sharing my simple scripts for running Subversion commands from Nautilus, I found Nautilus Svn by Jason Field, an Extension written in Python. (And available under the GPL v2.) It’s very nice, and adds (among other things) a major feature that you want in a graphical source control tool integrated with your file manager: visual cues of file status via icons. It uses Nautilus’s Emblems:

Those are what I have by default with the “Human” theme in Ubuntu 7.04/Feisty Fawn. So what are emblems? I’ve previously noticed the house emblem on my home dir and the lock emblem on system directories (hard to miss them). There is also a tab in file …

30 October 2007

Subversion (SVN) GNOME Nautilus Script Helpers

Update, 3 November 2007:

Found a better solution: Jason Field’s NautilusSvn. More SVN features, much better integration with Nautilus, and uses emblems to show file and directory status. There is a .deb file that installed easily on my Ubuntu 7.04/Feisty Fawn machine. And it’s free as in GPL v2. Thanks, Jason!

Use NautilusSvn instead of my meager scripts!

Update, 6 November 2007:

I wrote another post about NautilusSvn and replacement emblems.

Update, 22 February 2008:

Jason’s site has been down today. Acting as a backup, here are the files I downloaded back in November:

nautilussvn_0.9-1.deb (25 KB)
NautilusSvn_v0.9.tar.gz (25 KB)

Hopefully jasonfield.com will be back soon and then I recommend going there for the latest and greatest.

Extend the file manager with right-click popup menu options for adding, updating, and commiting SVN files, as …

14 October 2007

Subversion (SVN) helper bash script to list repo dirs

Finding my way around SVN. So far I’ve created a repository to hold my WordPress theme files and miscellaneous scripts. The working directories are scattered around my home dir, and I found that I wanted a way to view the structure of the repo itself. You can do this with the svn list command:

svn list –recursive file:///path/to/your/svn/repo/dir

And you’ll get a list of all your directories and files. I thought it might be nice to only see the dirs, and then furthernice to specify the depth of dirs to browse, so I cobbled together the bash script below to accomplish this. It takes the output from svn list -R and prints only items that end with a forward slash, e.g.:

svn list -R file:///home/scarpent/src/svn | svn-dirs.sh -d 2

To …

9 October 2007

Hodgepodge of Miscellany, part 2 of 2: Google Code, Subversion, Meld

(Continued from part one.)

Google Code Project Hosting

I mentioned this in my YARQ post and have since explored it further (although not much further). It’s a pretty cool free (as in beer) service. I like that they offer a Subversion (SVN) respository and it is easy to start up new projects. I had briefly looked at how to start a SourceForge project and it seemed more involved. This isn’t necessarily a bad thing and maybe it helps ensure people are more serious about their project, but there are a lot of little projects you might want to host and not spend so much effort up front.

To experiment, I created the bash cpafter project for my bash cpafter.sh and copy_it.sh scripts. An …