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

[PATCH] cmdclient option human-readable

From: H. Hernan Moraldo <hernan_at_moraldo.com.ar>
Date: 2004-03-13 00:11:18 CET

Log:

Added a new option to the cmdclient status command: --human-readable now
produces an easier to read output, specially for new SVN users.

* subversion/clients/cmdline/cl.h
* subversion/clients/cmdline/main.c
* subversion/clients/cmdline/status-cmd.c
    Human Readable option added

* subversion/clients/cmdline/status.c
    Function 'human_readable_print_status' added, and some other
    functions modified to let that work

(end of log)

I'm not sure you'll like this feature (at least I think I like it!), but
here is it implemented. Now you can call

"svn status -v --human-readable"

and obtain a response like this:

.dist-sandbox:
        Unversioned file
        Properties haven't been modified
        No revision number
        Working copy is up to date
        File has never been commited
        No commit author
ROADMAP:
        File not modified
        Properties haven't been modified
        Revision number: 43
        Working copy is up to date
        Last commited version: 41
        Commit author: hernan

If you like the new option, I'll start working on documenting the new
feature. If there are any modifications to do in the patch before
committing it, please tell me and I'll try doing these.

Sorry if my patches are quite simple these days, I'm new to the SVN code
and until I know it very well, I don't want to try bigger and riskier
modifications to the code. After all, quality is first :)

I'm also not a native English speaker, please tell me if my patches
'feature' any bad grammar in the comments I could have not seen.

Best regards,

-- 
H. Hernán Moraldo
Moraldo Games
http://games.moraldo.com.ar/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sat Mar 13 00:13:53 2004

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

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