]> git.notmuchmail.org Git - notmuch/commitdiff
NEWS: Document the recent 'nmbug clone' and @{upstream} changes
authorW. Trevor King <wking@tremily.us>
Tue, 15 Apr 2014 21:03:56 +0000 (14:03 -0700)
committerDavid Bremner <david@tethera.net>
Thu, 17 Apr 2014 22:56:13 +0000 (07:56 +0900)
The changes landed with c200167 (nmbug: Add 'clone' and replace
FETCH_HEAD with @{upstream}, 2014-03-09).

The preferred markup language for NEWS seems to be Markdown, which is
parsed by devel/news2wiki.pl into Markdown chunks for rendering by
ikiwiki [1].

[1]: http://notmuchmail.org/news/

NEWS

diff --git a/NEWS b/NEWS
index f1d549996abc689a39cf235424bd8d6602af7cd3..eeea10e872ec82a84c45966160cd238c9e39c172 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -43,6 +43,28 @@ Bug fix for saved searches with newlines in them
   Split lines confuse `notmuch count --batch`, so we remove embedded
   newlines before calling notmuch count.
 
+nmbug
+-----
+
+nmbug adds a `clone` command for setting up the initial repository and
+uses `@{upstream}` instead of `FETCH_HEAD` to track upstream changes.
+
+  The `@{upstream}` change reduces ambiguity when fetching multiple
+  branches, but requires existing users update their `NMBGIT`
+  repository (usually `~/.nmbug`) to distinguish between local and
+  remote-tracking branches.  The easiest way to do this is:
+
+  1. If you have any purely local commits (i.e. they aren't in the
+     nmbug repository on nmbug.tethera.net), push them to a remote
+     repository.  We'll restore them from the backup in step 4.
+  2. Remove your `NMBGIT` repository (e.g. `mv .nmbug .nmbug.bak`).
+  3. Use the new `clone` command to create a fresh clone:
+
+        nmbug clone http://nmbug.tethera.net/git/nmbug-tags.git
+
+  4. If you had local commits in step 1, add a remote for that
+     repository and fetch them into the new repository.
+
 Notmuch 0.17 (2013-12-30)
 =========================