monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] Monotone fails to detect certain changes in files


From: Nuno Lucas
Subject: Re: [Monotone-devel] Monotone fails to detect certain changes in files
Date: Sat, 25 Aug 2007 16:49:37 +0100

On 8/24/07, Justin Patrin <address@hidden> wrote:
> Are you using inodeprints? Go to your workspace and try "rm
> _MTN/inodeprints" and see if it detects your changes. You would also
> try "mtn refresh_inodeprints".

I thought I was clear that the problem was WITH inodeprints. I don't
see what you propose would help me, because if any of it didn't work
then monotone would be fully broken even for the basic of the users.

The attached file is a monotone repository with an example of this
behavior. It contains a test.dat and a test.c file that does a simple
mmap processing on the test.dat file (I could have done other things
but tried the replicate as close as possible what I'm doing in my
application).

Heres a use-case where it shows the issue:

---------------------------------------------------------------------------

address@hidden:~/src/other/test_inodeprints$ ll
total 328
-rwxr-xr-x 1 lucas lucas   8098 2007-08-25 16:32 a.out
-rw-r--r-- 1 lucas lucas 319488 2007-08-25 16:31 m.db
drwxr-xr-x 2 lucas lucas    144 2007-08-25 16:32 _MTN
-rw-r--r-- 1 lucas lucas   1377 2007-08-25 16:28 test.c
-rw-r--r-- 1 lucas lucas     13 2007-08-25 16:05 test.dat
address@hidden:~/src/other/test_inodeprints$ ll _MTN/
total 12
-rw-r--r-- 1 lucas lucas   2 2007-08-25 16:29 format
-rw-r--r-- 1 lucas lucas   0 2007-08-25 16:31 log
-rw-r--r-- 1 lucas lucas 109 2007-08-25 16:32 options
-rw-r--r-- 1 lucas lucas 133 2007-08-25 16:31 revision
address@hidden:~/src/other/test_inodeprints$ mtn refresh_inodeprints
address@hidden:~/src/other/test_inodeprints$ ll _MTN/
total 16
-rw-r--r-- 1 lucas lucas   2 2007-08-25 16:29 format
-rw-r--r-- 1 lucas lucas 151 2007-08-25 16:33 inodeprints
-rw-r--r-- 1 lucas lucas   0 2007-08-25 16:31 log
-rw-r--r-- 1 lucas lucas 109 2007-08-25 16:33 options
-rw-r--r-- 1 lucas lucas 133 2007-08-25 16:31 revision
address@hidden:~/src/other/test_inodeprints$ mtn st
Current branch: test
Changes against parent 5e14d3384e28dc55ff0e711c1ecfb485275d587c
  no changes
address@hidden:~/src/other/test_inodeprints$ cat test.dat

ABCD

DEFG

address@hidden:~/src/other/test_inodeprints$ ./a.out test.dat
test.dat: Done (rc=0)
address@hidden:~/src/other/test_inodeprints$ mtn st
Current branch: test
Changes against parent 5e14d3384e28dc55ff0e711c1ecfb485275d587c
  no changes
address@hidden:~/src/other/test_inodeprints$ cat test.dat

DEFA

ABCG

---------------------------------------------------------------------------

Off course that if I do a "refresh_inodeprints" or remove the
inodeprints file it will work, but that is not the point.

My point is I'm trying to understand if this is a bug or a "work as
designed" kind of thing.


Regards,
~Nuno Lucas

>
> --
> Justin Patrin

Attachment: m.db.bz2
Description: BZip2 compressed data


reply via email to

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