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

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

[Monotone-commits-diffs] net.venge.monotone: c041fbff3411992e955063719ca


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone: c041fbff3411992e955063719ca361d849c22eae
Date: Sun, 10 Jul 2011 00:25:52 +0200 (CEST)

revision:            c041fbff3411992e955063719ca361d849c22eae
date:                2011-06-12T17:24:37
author:              address@hidden
branch:              net.venge.monotone
changelog:
improve get_attributes doc

* doc/monotone.texi (automate get_attributes): improve discussion of --revision 
option

* src/cmd_ws_commit.cc (get_attributes): improve comments

manifest:
format_version "1"

new_manifest [d8316574c55fa54fd2de3f3cca870fee18bdbe07]

old_revision [4eb28ec433e563811f4a8bb7c31aa926dbc20374]

patch "doc/monotone.texi"
 from [eab1a08234b86089a4e1105a180425088dfc3992]
   to [b93a39c40870fce709e383709d45003fb638bc0f]

patch "src/cmd_ws_commit.cc"
 from [61d63e20d1beb1f1a02b194c4360cbd57c3c68cc]
   to [aa290a0418e1944d17768dd0d07fe6c3f348f2cf]
============================================================
--- doc/monotone.texi	eab1a08234b86089a4e1105a180425088dfc3992
+++ doc/monotone.texi	b93a39c40870fce709e383709d45003fb638bc0f
@@ -7588,7 +7588,7 @@ @section Automation
 
 @end table
 
address@hidden mtn automate get_attributes @var{path}
address@hidden mtn automate get_attributes address@hidden @var{path}
 
 @table @strong
 @item Arguments:
@@ -7610,10 +7610,8 @@ @section Automation
 
 @item Purpose:
 
-Prints all attributes of the given file in the current workspace, and
-the attribute states.
-If a revision is given, then the attributes of the given file at that
-point in time are returned. No workspace is needed in this case.
+Prints all attributes of the given file in the given revision (default
+current workspace revision), and the attribute states.
 
 @item Sample output:
 
============================================================
--- src/cmd_ws_commit.cc	61d63e20d1beb1f1a02b194c4360cbd57c3c68cc
+++ src/cmd_ws_commit.cc	aa290a0418e1944d17768dd0d07fe6c3f348f2cf
@@ -1390,7 +1390,7 @@ CMD_AUTOMATE(get_attributes, N_("PATH"),
 
     if (!from_database)
       {
-        // if if the first value of the value pair is false this marks a
+        // if the first value of the value pair is false this marks a
         // dropped attribute
         if (!i->second.first)
           {
@@ -1447,7 +1447,8 @@ CMD_AUTOMATE(get_attributes, N_("PATH"),
       }
     else
       {
-        // skip previously dropped attributes in database mode
+        // skip previously dropped attributes in database mode, because that
+        // has meaning only in uncommitted workspaces.
         if (!i->second.first)
           continue;
       }

reply via email to

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