There really ought to be wili page about this kind of thing -- all the 
reasons why sync might fail, how to detect them, and what to do about 
them.  I'm convinced I've done somethign stupid, and a check-list would 
help.

I have a monotone database, misc.db, in two incarnations on different 
systems.  One branch, com.pooq.hendrik.cash.C, has different heads on  
the two systems.  Yet when I sync, using the ssh protocol, it reports 
success with nothing useful being transferred -- I still have the same 
two different heads on the same machines.

On one machine:

hend...@notlookedfor:~/dv/cash$ mtn head
mtn: branch 'com.pooq.hendrik.cash.C' is currently merged:
b5ec1cdc1f2af5ad14ff8402f00016846aa9c2e5 
hend...@notlookedfor.topoi.pooq.com 2010-04-24T09:32:38
hend...@notlookedfor:~/dv/cash$ 

On the other:

hend...@lovesong:~/dv/cash$ mtn head
mtn: branch 'com.pooq.hendrik.cash.C' is currently merged:
9726de43e35bb0d4e14ed3180c0f39fcf191bfe5 hend...@topoi.pooq.com 
2010-04-23T01:10:36
hend...@lovesong:~/dv/cash$ 

And when, on lotlookedfor, I sync:

hend...@notlookedfor:~/dv/cash$ mtn sync
mtn: connecting to ssh://hend...@172.25.1.4/~hendrik/monotone/misc.db
hend...@172.25.1.4's password: 
mtn: finding items to synchronize:
mtn: certificates | keys | revisions
mtn:          366 |    2 |       122
mtn: successful exchange with 
ssh://hend...@172.25.1.4/~hendrik/monotone/misc.db
mtn:  bytes in | bytes out | revs in
mtn:       873 |       931 |     0/0
hend...@notlookedfor:~/dv/cash$ 

and afterward, I still have the same different heads:

hend...@notlookedfor:~/dv/cash$ mtn head
mtn: branch 'com.pooq.hendrik.cash.C' is currently merged:
b5ec1cdc1f2af5ad14ff8402f00016846aa9c2e5 
hend...@notlookedfor.topoi.pooq.com 2010-04-24T09:32:38
hend...@notlookedfor:~/dv/cash$ 

and 

hend...@lovesong:~/dv/cash$ mtn head
mtn: branch 'com.pooq.hendrik.cash.C' is currently merged:
9726de43e35bb0d4e14ed3180c0f39fcf191bfe5 hend...@topoi.pooq.com 
2010-04-23T01:10:36
hend...@lovesong:~/dv/cash$ 


Both systems are running mtn 0.45 from the package in Debian squeeze:

hend...@notlookedfor:~/dv/cash$ mtn --version
monotone 0.45 (base revision: a19f8b2017c81c3c6c8b2bb3247f865f6ed4e5a9)
hend...@notlookedfor:~/dv/cash$ 

hend...@lovesong:~/dv/cash$ mtn --version
monotone 0.45 (base revision: a19f8b2017c81c3c6c8b2bb3247f865f6ed4e5a9)
hend...@lovesong:~/dv/cash$ 

-- hendrik



_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to