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

Feature request: more abbreviated commands

From: David Faure <faure_at_kde.org>
Date: 2005-03-04 14:09:42 CET

Being used for cvs for years, I have difficulties changing my habits of typing
"cvs com" and "cvs dif". With svn it's "commit" or "ci", and "diff" or "di".

Can any non-ambiguous shortcut be accepted? e.g. "com" is non-ambiguous for "commit".
There's no point in cluttering "svn help" with all possible abbrevations, of course.

To detail the algorithm:
 * first check if the command is a known one (as listed in "svn help", which includes documented abbreviations)
 * then look for substrings of the known commands, and:
    - if only one matched, use that one.
    - if more than one matched, refuse command as ambiguous
    - if none matched, refuse command as unknown

David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 4 14:13:19 2005

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.