[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Subversion 1.8 appreciation thread

From: Tobias Bading <tbading_at_web.de>
Date: Thu, 06 Jun 2013 13:32:23 +0200

Hi *,

I'm currently checking out (no pun intended) Subversion 1.8 RC2 and
thought a "Subversion 1.8 goodies" thread might be fun. Here we go...

Goodie #1:

Are you multitasking all day long?
Are you tired of remembering all those fancy changelist names you came
up with to keep the chaos in check?
Well, fret no more. Let your tab key do the thinking!

Simply create a shell script called svn-changelists with this content:

while [[ ${#dir} != 0 ]]; do
   if [[ -r $dir/.svn/wc.db ]]; then
     sqlite3 $dir/.svn/wc.db 'select distinct(changelist) from actual_node;'

Now use it in your favority shell's completion feature. I'm using
good-ol' tcsh, so that's

complete svn 'n_at_--changelist@`svn-changelists`@' [...]

SQLite rulz! ;-)
Received on 2013-06-06 13:33:02 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.