You are here: Home Blog Spaces in User Names and psvn.el

Spaces in User Names and psvn.el

by Ross Patterson last modified Jul 25, 2008 10:43 AM
— filed under: , ,

Handling SVN user names with spaces in emacs' svn-status.

I recently started on a project using svnserve's --tunnel-user option where many of the committers have user names with spaces.  Much to my chagrin, my beloved svn-status in emacs choked on those user names un able to tell where the user name ended and the filename began.

Then I found a comment in the current version of psvn.el detailing how to work around this.  Just be sure you have the current version on your load-path and add something like the following to your ~/.emacs:

(setq svn-user-names-including-blanks '(\"feng shui\" \"mister blank\"))
(add-hook 'svn-pre-parse-status-hook 'svn-status-parse-fixup-user-names-including-blanks)
Related content
Document Actions
Contact

me@rpatterson.net

IRC: zenwryly@irc.freenode.net
GTalk: merpattersonnet@gmail.com
Yahoo IM: patterson_ross
AIM: rosspatters
MSN: me@rpatterson.net
Skype: merpattersonnet

831-338-9197
Fax: 831-480-5894

PO Box 7775 #10587
San Francisco, CA
94120-7775