unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Weird behaviour in notmuch new
@ 2014-02-23  1:08 Mark Walters
  2014-02-23 21:40 ` [PATCH] test: test folder renames Jani Nikula
  2015-09-05  9:35 ` [PATCH 1/2] HACK: " Jani Nikula
  0 siblings, 2 replies; 7+ messages in thread
From: Mark Walters @ 2014-02-23  1:08 UTC (permalink / raw)
  To: notmuch


Hi

I was experimenting with letting notmuch new take an argument to tell it
to scan only a particular directory (and sub-directories) for new
messages. I came across the following strange behaviour which is also
present in master (with a fresh database)

I have a bunch of maildirs in /home/mail: so folders .mail.foo/
.mail.bar/ each of which has cur/new/tmp and all the messages are in
cur.

If I do mv .mail.foo .mail.bar/ and run notmuch new I get the expected
lots of renames (900 or so in the case I was trying). But if I then do
mv .mail.bar/.mail.foo . and run notmuch new almost all the messages get
removed (but 30 renames do get detected). If I then do touch .mail.foo/*
the messages get found again

I am guessing the 30 renames might be because those 30 have duplicates
somewhere else. 

But the other behaviour has me puzzled.

Best wishes

Mark

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-09-07 12:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-23  1:08 Weird behaviour in notmuch new Mark Walters
2014-02-23 21:40 ` [PATCH] test: test folder renames Jani Nikula
2014-02-23 23:28   ` Tomi Ollila
2015-09-05  9:35 ` [PATCH 1/2] HACK: " Jani Nikula
2015-09-05  9:35   ` [PATCH 2/2] cli: reset db directory mtime upon directory removal Jani Nikula
2015-09-06 10:00     ` Tomi Ollila
2015-09-07 12:51     ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).