[Nut-upsdev] [nut-commits] svn commit r3407 - trunk/docs/man

Charles Lepple clepple at gmail.com
Mon Jan 23 13:21:52 UTC 2012

On Jan 23, 2012, at 5:33 AM, Arnaud Quette wrote:

> Argh!
> habits are hard to change.
> I've fixed the message again on the server, to satisfy the git format...

While we are still working on the reposurgeon conversion, you can just let Eric or me know, and we can edit the commit message in reposurgeon. That is probably safer, because it prevents us from using svnsync and getting the old commit before you update it.

One idea that may help during the transition is to use git-svn. When you commit locally in git, the default Vim syntax highlighting in recent distros will change the color of any text which goes beyond ~50 characters in the first line. This setup also allows you to preview the change (using a repository history browser like gitk) before committing upstream ('git svn dcommit', or when we are completely transitioned to git, 'git push'). There are instructions in the NUT Developer documentation on setting up a git-svn mirror of just the tip of the trunk, which will be a lot faster than cloning the whole repository. Email if you have questions.

Now is a good time to mention that you may want to have your editor automatically word-wrap the body of the commit message too, since many Git browsing tools like gitk will not re-wrap the text. (Think of plain-text email before MIME introduced the rewrapping options.)

- Charles

> 2012/1/23 Arnaud Quette <aquette at alioth.debian.org>:
>> Author: aquette
>> Date: Mon Jan 23 10:11:18 2012
>> New Revision: 3407
>> URL: http://trac.networkupstools.org/projects/nut/changeset/3407
>> Log:
>> Add the missing '-K' (Test for the shutdown flag) to upsmon synopsis (reported by Regid Ichira)
>> Modified:
>>   trunk/docs/man/upsmon.txt
>> Modified: trunk/docs/man/upsmon.txt
>> ==============================================================================
>> --- trunk/docs/man/upsmon.txt   Fri Jan 20 18:22:02 2012        (r3406)
>> +++ trunk/docs/man/upsmon.txt   Mon Jan 23 10:11:18 2012        (r3407)
>> @@ -13,7 +13,7 @@
>>  *upsmon* -c 'command'
>> -*upsmon* [-D] [-p] [-u 'user']
>> +*upsmon* [-D] [-K] [-p] [-u 'user']
>>  -----------
>> _______________________________________________
>> nut-commits mailing list
>> nut-commits at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-commits
> _______________________________________________
> Nut-upsdev mailing list
> Nut-upsdev at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev

Charles Lepple
clepple at gmail

More information about the Nut-upsdev mailing list