monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision ae0a9c829c508851a9bcfbcc22d6b088ab472f


From: monotone
Subject: [Monotone-commits-diffs] Revision ae0a9c829c508851a9bcfbcc22d6b088ab472ff6
Date: Tue, 11 Sep 2007 16:05:56 +0200

-----------------------------------------------------------------
Revision: ae0a9c829c508851a9bcfbcc22d6b088ab472ff6
Ancestor: 2a0667e72d1c6475fd656695c9df37b82c57871d
Author: address@hidden
Date: 2007-09-11T13:09:37
Branch: net.venge.monotone

Modified files:
        cmd_files.cc

ChangeLog: 

The Monotone documentation says...

| mtn annotate [--revision=id] [--brief] file
|     Dumps an annotated copy of the file to stdout. In the absence of
|     the --brief flag, each line of the file is translated to <revision id>:
|     <line> in the output, where <revision id> is the revision in which that
|     line of the file was last edited.
|
|     If --brief is specified, the output is in the form <short revision
|     id>.. by <author> <date>: <line> Only the first 8 characters of the
|     revision id are displayed, the author cert value is truncated at the
|     first @ or space character and the date field is truncated to remove
|     the time of day.

...but --brief is actually implemented the other way round because
its boolean value is 1:1 passed to do_annotate() while this function
interprets the argument as "just_revs" (even the actual name of the
parameter). And "just revisions" should be the default according to the
documentation. So, bring the documentation and implementation into sync
by passing in the negation of the option value.

Attachment: txtrFK6kC_szv.txt
Description: Diff [2a0667e72d1c6475fd656695c9df37b82c57871d] -> [ae0a9c829c508851a9bcfbcc22d6b088ab472ff6]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]