#
# rename_file "tests/t_update_inodeprints.at"
# to "tests/t_refresh_inodeprints.at"
#
# patch "ChangeLog"
# from [69d8cc3b1214855d6424b4dce05283294eafd230]
# to [4345eeb787c966b6360566fe90ea83e052813c66]
#
# patch "commands.cc"
# from [464b57a840edfc3a9474d6a263ba5637845dbe5b]
# to [4f0bdd287f9a5e2a34d7bd96b404107c27286f6a]
#
# patch "monotone.1"
# from [8a4615b38f6f7ed8ed160f0609f40d7336bb0859]
# to [afcfe5e4e38756065a06c8698b73a3bc2e359446]
#
# patch "monotone.texi"
# from [6247a2c66cb14a6cf191d956e1f6d8ae2e7364e0]
# to [2b0af1951bf050c20086971b112e48a289d30bb0]
#
# patch "tests/t_refresh_inodeprints.at"
# from [8e9ec9723a232850248e679a59a28c8ec043f3e9]
# to [8fc43d007b60a998430f6fd0dc56962c019511f4]
#
# patch "testsuite.at"
# from [880655efdaebf7887f027e3096f0f35e639235d6]
# to [c8bcc8c5115697c942bb35925bb958aa1978efec]
#
--- ChangeLog
+++ ChangeLog
@@ -1,5 +1,20 @@
2005-04-29 Nathaniel Smith
+ * commands.cc (update_inodeprints): Rename to...
+ (refresh_inodeprints): ...this, so 'monotone up' continues to mean
+ update.
+
+ * monotone.texi (Inodeprints): Mention refresh_inodeprints in the
+ Inodeprints section.
+
+ * testsuite.at:
+ * tests/t_update_inodeprints.at:
+ * tests/t_refresh_inodeprints.at:
+ * monotone.texi (Working Copy, Commands):
+ * monotone.1: Update accordingly.
+
+2005-04-29 Nathaniel Smith
+
* change_set.cc (dump_change_set): Don't truncate output.
(invert_change_test): New unit test.
(invert_change_set): Make it pass. This fixes (some?)
--- commands.cc
+++ commands.cc
@@ -3519,7 +3519,7 @@
}
}
-CMD(update_inodeprints, "tree", "", "update the inodeprint cache")
+CMD(refresh_inodeprints, "tree", "", "refresh the inodeprint cache")
{
enable_inodeprints();
maybe_update_inodeprints(app);
--- monotone.1
+++ monotone.1
@@ -155,7 +155,7 @@
\fBupdate\fP \fI[revision-id]\fP
Update working copy.
.TP
-\fBupdate_inodeprints\fP
+\fBrefresh_inodeprints\fP
Turn on inodeprints mode, and force a cache refresh.
.TP
\fBpush\fP \fI[ []]\fP
--- monotone.texi
+++ monotone.texi
@@ -2478,12 +2478,12 @@
most projects, so it is disabled by default.
If you do determine that it is necessary to use inodeprints with your
-project, it is simple to enable them. A working copy is in inodeprints
-mode if a file @file{MT/inodeprints} exist. You can simply create an
-empty file with this name, and the next time you commit or update,
-monotone will automatically populate it with cache information. You can
-at any point delete this file or truncate it; monotone uses it only as a
-cache and will operate correctly if it is removed.
+project, it is simple to enable them. Simply run @command{monotone
+refresh_inodeprints}; this will enable inodeprints mode and generate an
+initial cache. If you ever wish to turn them off again, simply delete
+the file @file{MT/inodeprints}. You can at any time delete or truncate
+the @file{MT/inodeprints} file; monotone uses it only as a cache and
+will continue to operate correctly.
Normally, instead of enabling this up on a per-working-copy basis, you
will want to simply define the @code{use_inodeprints} hook to return
@@ -3536,7 +3536,7 @@
becomes the new default branch of the working copy (even if you also
specify an explicit @var{revision} argument).
address@hidden monotone update_inodeprints
address@hidden monotone refresh_inodeprints
This command puts the current working copy into @ref{Inodeprints} mode,
if it was not already, and forces a full inodeprints cache refresh.
After running this command, you are guaranteed that your working copy is
@@ -6329,7 +6329,7 @@
Update working copy.
@comment TROFF INPUT: .SH DESCRIPTION
address@hidden @b{update_inodeprints}
address@hidden @b{refresh_inodeprints}
Turn on inodeprints mode, and force a cache refresh.
@item @b{push} @i{ }
--- tests/t_refresh_inodeprints.at
+++ tests/t_refresh_inodeprints.at
@@ -1,4 +1,4 @@
-AT_SETUP([update_inodeprints])
+AT_SETUP([refresh_inodeprints])
MONOTONE_SETUP
ADD_FILE(testfile, [blah blah
@@ -7,7 +7,7 @@
AT_CHECK(test -e MT/inodeprints, [1])
-AT_CHECK(MONOTONE update_inodeprints)
+AT_CHECK(MONOTONE refresh_inodeprints)
AT_CHECK(test -s MT/inodeprints)
--- testsuite.at
+++ testsuite.at
@@ -588,7 +588,7 @@
m4_include(tests/t_cvsimport_manifest_cycle.at)
m4_include(tests/t_select_cert.at)
m4_include(tests/t_automate_select.at)
-m4_include(tests/t_update_inodeprints.at)
+m4_include(tests/t_refresh_inodeprints.at)
m4_include(tests/t_merge_6.at)
m4_include(tests/t_annotate.at)
m4_include(tests/t_annotate_add_collision.at)