Re: [Monotone-devel] more on commit without -b option

2007-11-11 Thread Timothy Brownawell
On Sun, 2007-11-11 at 20:48 -0700, Derek Scherger wrote: > After a brief chat on irc today I was left with the following > impressions as to where this might go. > > - remove -b from commit (Thomas Keller already has this done) > - add a mtn branch command for creating new branches that sets the

Re: [Monotone-devel] Alerting People To New Stuff

2007-11-17 Thread Timothy Brownawell
On Sun, 2007-11-04 at 13:20 +, Anthony Edward Cooper wrote: > Hi again, > > I have been knocking up a few utilities etc in dedicated branches > under the contrib branch in monotone.ca's database. Where is the best > place to highlight these things so that it avoids duplication and helps

Re: [Monotone-devel] Remote public key hash unknown

2007-11-17 Thread Timothy Brownawell
On Sun, 2007-11-04 at 18:06 +, Ben Hood wrote: > Hi, > > I recently upgraded my computer and I doing so I forgot to backup the > original keyfile that I was using to push stuff to our mtn server. > > I regenerated it and found out that the pubkey hash is the same as the > old one I mailed to

Re: [Monotone-devel] deterministic mark merge question

2007-11-18 Thread Timothy Brownawell
On Sun, 2007-11-18 at 23:47 +1100, William Uther wrote: > Hi, >I have a quick question about deterministic mark merge. I'm a > little confused about when something is decided to be a conflict. In > particular, how would the following examples work out? The question is "do all nodes in t

Re: [Monotone-devel] nvm.netsync.refactor

2007-11-28 Thread Timothy Brownawell
On Wed, 2007-11-28 at 11:21 +0100, Markus Schiltknecht wrote: > Hi Timothy, > > I'm trying to compile nvm.netsync.refactor. Can it be that you forgot to > 'mtn add netsync.hh'? It's referenced from cmd_netsync.cc and > netsync.cc. From a quick glance at the code, it looks like class > netsync_

Re: [Monotone-devel] Re: Time for a release, I think...

2007-12-03 Thread Timothy Brownawell
On Mon, 2007-12-03 at 13:01 +0100, Lapo Luchini wrote: > Thomas Keller wrote: > > AFAIR Matt did a small, but very noticable change wrt merging in > > 139613dd1ee3f2c7e4b0578aaacf1d8a67f240d9. We got pretty often complains > > that a complex merge result was abandoned just because no or a wrong ke

Re: [Monotone-devel] Directory already exists?

2007-12-16 Thread Timothy Brownawell
On Sun, 2007-12-16 at 10:20 +1100, Brian May wrote: > > "J" == J Decker <[EMAIL PROTECTED]> writes: > > J> *warning cannot create path box2d, already exists* well of > J> course it does, I just got through a partial update! > > By "partial update" I assume you mean monotone half comp

Re: [Monotone-devel] Directory already exists?

2007-12-16 Thread Timothy Brownawell
On Thu, 2007-12-13 at 15:54 -0800, J Decker wrote: > Just a question... has anything been fixed in regard to directories existing? > > It's yet again time to update some other boxes to current versions of > software I have dropped several directories > > I started an update.. and got a n

Re: [Monotone-devel] [PATCH] Accept "mtn di" as "mtn diff"

2007-12-18 Thread Timothy Brownawell
On Tue, 2007-12-18 at 14:40 -0600, Richard Laager wrote: > On Wed, 2007-10-24 at 11:21 -0700, Nathaniel Smith wrote: > > On Wed, Oct 24, 2007 at 10:52:27AM +0200, Julio M. Merino Vidal wrote: > > Can you demonstrate the existence of any user that actually wants "di" > > to mean "disapprove"? > >

Re: Fwd: [Monotone-devel] Directory already exists?

2007-12-18 Thread Timothy Brownawell
On Tue, 2007-12-18 at 17:11 -0800, J Decker wrote: > -- Forwarded message -- > From: J Decker <[EMAIL PROTECTED]> > Date: Dec 18, 2007 5:11 PM > Subject: Re: [Monotone-devel] Directory already exists? > To: Timothy Brownawell <[EMAIL PROTECTED]> > &g

Re: [Monotone-devel] build failure of 0.36 release on linux

2008-01-03 Thread Timothy Brownawell
On Thu, 2008-01-03 at 14:36 +0100, Thomas Keller wrote: > Sorry that this took a little longer, but I recently stumbled across > the > same problem. The origin seems to be gcc, which did not provide > default > constructors for Internal::hastable_iterator and > Internal::hashtable_const_iterator [0

Re: [Monotone-devel] unexpected behavior from "merge_into_dir" + "propagate"

2008-01-12 Thread Timothy Brownawell
On Sun, 2008-01-13 at 08:29 +1100, Daniel Carosone wrote: > On Fri, Jan 11, 2008 at 11:30:00PM +0100, Lapo Luchini wrote: > > OK. So far, so good. > > Of course, I know from experience, when the "sub" library will be > > updated I will only need a nice "mtn propagate sub main" to get the > > lates

[Monotone-devel] Re: nvm.experiment.encapsulation review

2008-01-13 Thread Timothy Brownawell
On Wed, 2008-01-09 at 14:39 -0500, Zack Weinberg wrote: > Speaking of get_project(), part of why it's so weird is that it's a > stub; that was where a bunch of the policy branch stuff that never got > implemented was supposed to go. I believe Tim did the original > implementation there - can you

[Monotone-devel] Policy branch implementation

2008-01-27 Thread Timothy Brownawell
net.venge.monotone.tbrownaw.policy-branches A fairly simple policy branch implementation. It can't handle multiple policies yet. It translates branch names in 'ls branches' (but isn't yet plugged in to the other paths that deal in branch names), and has some code for commit access rules (also not

Re: [Monotone-devel] nvm.experiment.encapsulation progress report and request for comments

2008-01-27 Thread Timothy Brownawell
On Sat, 2008-01-26 at 23:42 -0500, Zack Weinberg wrote: > I'm specifically wanting advice on what to do with the single lua > hooks. These are, in some sense, global functions that happen to be > defined in a different way than the usual; but I can imagine scenarios > where we would want to have m

Re: [Monotone-devel] Future of monotone

2008-01-28 Thread Timothy Brownawell
On Mon, 2008-01-28 at 14:21 -0500, Jack Lloyd wrote: > - Ability to replace lost/compromised keys (without changing my email >address). Also the ability to have multiple keys with a single >email address seems essential to me. Why? So they can be >selectively revoked as needed - one

Re: [Monotone-devel] Bogus merge with 0.38

2008-02-03 Thread Timothy Brownawell
On Mon, 2008-02-04 at 10:51 +1100, William Uther wrote: > ii) Why is revision 0004 in both > the marks of the file and the uncommon ancestor set? I assume this is > a bogus revision ID? (It is technically vaild, just... unlikely. Can > you mtn log --fro

Re: [Monotone-devel] How will policy branches work?

2008-02-05 Thread Timothy Brownawell
On Tue, 2008-02-05 at 13:45 +0200, Boris wrote: > Can anyone explain to me how policy branches will work when they are added > to monotone one day (from a user perspective)? I ask as in the commercial > projects I'm involved in more and more files will have to be added to a > version control

Re: [Monotone-devel] Release recommendations?

2008-02-06 Thread Timothy Brownawell
On Wed, 2008-02-06 at 11:41 +0100, Richard Levitte wrote: > Hello, > > I'm thinking of making a release pretty soon, but I'm wondering if > there's any opinion on what should be included. There are a few > interesting development efforts going on, such as encapsulation and > policy-branches, and

Re: [Monotone-devel] Re: Re: How will policy branches work?

2008-02-06 Thread Timothy Brownawell
On Wed, 2008-02-06 at 12:30 +0200, Boris wrote: > On Tue, 05 Feb 2008 19:30:28 +0200, Zack Weinberg <[EMAIL PROTECTED]> wrote: > > > [...]Because this is a distributed VCS, we can't, ultimately, prevent > > people from doing whatever they want to their own copy of the > > It might be possible if

Re: [Monotone-devel] Re: Re: Re: Re: Re: How will policy branches work?

2008-02-06 Thread Timothy Brownawell
On Wed, 2008-02-06 at 19:36 +0200, Boris wrote: > On Wed, 06 Feb 2008 19:07:44 +0200, Markus Schiltknecht > > [...]Please keep in mind, that "policy branches" do not exist, yet. And > > there are about as may ideas, what it should be, as monotone developers > > are around here. > > Ah, my u

Re: [Monotone-devel] Re: Re: Re: How will policy branches work?

2008-02-06 Thread Timothy Brownawell
On Wed, 2008-02-06 at 17:29 +0200, Boris wrote: > On Wed, 06 Feb 2008 15:27:22 +0200, Timothy Brownawell > <[EMAIL PROTECTED]> wrote: > > > On Wed, 2008-02-06 at 12:30 +0200, Boris wrote: > >> On Tue, 05 Feb 2008 19:30:28 +0200, Zack Weinberg &l

Re: [Monotone-devel] Re: How will policy branches work?

2008-02-06 Thread Timothy Brownawell
On Wed, 2008-02-06 at 19:46 +0100, Markus Schiltknecht wrote: > Hi, > > Nuno Lucas wrote: > > "Policy branches" aside, this is a feature it would be nice to have: > > merge/propagate with path restrictions. > > > > A simple (and common) use-case is propagating/merging changes made in > > a sub-d

Re: [Monotone-devel] Re: Re: Re: How will policy branches work?

2008-02-06 Thread Timothy Brownawell
On Wed, 2008-02-06 at 11:33 -0500, Jack Lloyd wrote: > source. An example that comes to mind is that a contractor at > Microsoft working on the kernel is not allowed to see, say, the source > for Office (or even other parts of the kernel beyond his immediate > purview). Is it good development pro

Re: [Monotone-devel] dir containing db.mtn as uri

2008-02-14 Thread Timothy Brownawell
On Wed, 2008-02-13 at 17:28 -0800, Roland McGrath wrote: > [I'm not on the list, so please keep me CC'd on replies.] > > How would folks feel about a change something like the patch below? > > This treats a directory name in --db as if it were directory/db.mtn if that > file exists. The motivat

Re: [Monotone-devel] locale bug ?

2008-02-16 Thread Timothy Brownawell
On Thu, 2008-02-14 at 11:47 -0600, Hugo Cornelis wrote: > Hi, > > > I have a problem with automated certification of versions in my > monotone repositories. > I try to add certs to specific revisions in one of my monotone > repositories, and the monotone commands are run from an automated test >

Re: [Monotone-devel] [offtopic] Google Analytics for monotone's website

2008-02-26 Thread Timothy Brownawell
On Mon, 2008-02-25 at 23:00 +0100, Thomas Keller wrote: > Hi all! > > I recently had some time to play with Google Analytics which is a free > statistics service with a lot of cool features [0] - so I wonder if we > want this for our web pages as well? > > Since it is a remote service it canno

Re: [Monotone-devel] n.v.m.experiment.testsuite_ws_options

2008-03-09 Thread Timothy Brownawell
On Sun, 2008-03-09 at 20:13 -0400, Stephen Leake wrote: > I've created branch n.v.m.experiment.testsuite_ws_options, to explore > changing the testsuite to use options from _MTN/options as much as > possible; there are a couple of bugs in that area, and this should > find more. This is actually o

Re: [Monotone-devel] botan 1.7.3

2008-03-13 Thread Timothy Brownawell
On Thu, 2008-03-13 at 14:48 -0400, Jack Lloyd wrote: > Have to restart the server to add a key = not ideal :( push and sync take a --key-to-push argument and the default write permission hook rereads write-permissions every time, so a restart *should* be unnecessary. _

Re: [Monotone-devel] fatal: std::logic_error: ../graph.cc:87: invariant 'I(!next.empty())' violated

2008-03-15 Thread Timothy Brownawell
On Fri, 2008-03-14 at 14:38 +0100, Rolf Meijer wrote: > Hi Monotoners, > > • error message: > Bugmod:themes rolf$ mtn -d /var/mtn/themes.db -R add eaps > mtn: fatal: std::logic_error: ../graph.cc:87: invariant 'I(! > next.empty())' violated > mtn: this is almost certainly a bug in monotone. > mt

Re: [Monotone-devel] sync defaults

2008-03-17 Thread Timothy Brownawell
On Sun, 2008-03-16 at 19:46 -0400, Stephen Leake wrote: > I'm proposing the following patch to cmd_netsync.cc: [...] > The first change (passing 'true' to find_key_if_needed) requires a key > (needed for writing to the server database); that means it will look > in _MTN/options if present. That wa

Re: [Monotone-devel] sync defaults

2008-03-18 Thread Timothy Brownawell
On Tue, 2008-03-18 at 05:30 -0400, Stephen Leake wrote: > Timothy Brownawell <[EMAIL PROTECTED]> writes: > > > On Sun, 2008-03-16 at 19:46 -0400, Stephen Leake wrote: > >> I'm proposing the following patch to cmd_netsync.cc: > > [...] > >> The fir

[Monotone-devel] mtn:// sync

2008-03-18 Thread Timothy Brownawell
I've just added support for mtn:// URLs for push/pull/sync. They look like mtn://server?include&!exclude , I chose this over something like mtn://server/include because it handles include/exclude in a way that should be compatible with file:// and ssh:// sync. Having a separate include pattern, an

Re: [Monotone-devel] mtn:// sync

2008-03-19 Thread Timothy Brownawell
On Wed, 2008-03-19 at 07:41 +0100, Richard Levitte wrote: > In message <[EMAIL PROTECTED]> on Tue, 18 Mar 2008 19:46:46 -0500, Timothy > Brownawell <[EMAIL PROTECTED]> said: > > tbrownaw> I've just added support for mtn:// URLs for push/pull/sync. They >

Re: [Monotone-devel] mtn:// sync

2008-03-19 Thread Timothy Brownawell
On Wed, 2008-03-19 at 20:12 -0600, Derek Scherger wrote: > Timothy Brownawell wrote: > > I've just added support for mtn:// URLs for push/pull/sync. They look > > like mtn://server?include&!exclude , I chose this over something like > > I'm not entirely clear

Re: [Monotone-devel] mtn:// sync

2008-03-19 Thread Timothy Brownawell
On Wed, 2008-03-19 at 21:05 -0600, Derek Scherger wrote: > Timothy Brownawell wrote: > > The query string is split at '&', with the parts being include or > > exclude patterns based on whether there's a leading '!'. > > I was afraid you we

Re: [Monotone-devel] fatal: Botan::PRNG_Unseeded

2008-03-20 Thread Timothy Brownawell
On Thu, 2008-03-20 at 07:38 -0400, Stephen Leake wrote: > What else are random numbers used for? As I understand it, signing > does not use random numbers, but maybe I'm confused. They're used during netsync (mk_nonce()), but I think that goes away if you use --no-transport-auth like ssh:// sync

Re: [Monotone-devel] Re: mtn:// sync

2008-03-20 Thread Timothy Brownawell
On Thu, 2008-03-20 at 18:43 +0100, Philipp Gröschler wrote: > > mtn sy monotone.ca nvm* --exclude nvm.experiment* > > > > would become > > > > mtn sy mtn://monotone.ca?nvm*&!nvm.experiment* > > When will this change become available? Since I am currently only > building monotone from the relea

Re: [Monotone-devel] Re: mtn:// sync

2008-03-21 Thread Timothy Brownawell
On Fri, 2008-03-21 at 09:58 +0100, Markus Schiltknecht wrote: > Hi, > > Timothy Brownawell wrote: > > It will be in 0.40, > > Uh.. really? I personally don't feel there's a majority for such a > syntax. But I might have missed some of the discussions. > &

Re: [Monotone-devel] mtn:// sync

2008-03-21 Thread Timothy Brownawell
On Tue, 2008-03-18 at 19:46 -0500, Timothy Brownawell wrote: > I've just added support for mtn:// URLs for push/pull/sync. They look > like mtn://server?include&!exclude , I chose this over something like > mtn://server/include because it handles include/exclude in a wa

Re: [Monotone-devel] mtn:// sync

2008-03-22 Thread Timothy Brownawell
On Sat, 2008-03-22 at 11:40 +0100, Markus Schiltknecht wrote: > Hi, > > Timothy Brownawell wrote: > > All of these should work: > > > > mtn sy monotone.ca net.venge.monotone* --exclude *experiment* > > > > mtn sy mtn://monotone.ca?net.venge.monotone/-*ex

Re: [Monotone-devel] url schemes

2008-03-22 Thread Timothy Brownawell
On Sat, 2008-03-22 at 16:19 +0100, Markus Schiltknecht wrote: > Hi, > > since I've been critiquing Timothy's current extensions of the URL > scheme, I think I need to try coming up with something better. Or at > least help in doing so. First of all, I've put together a list of URL > schemes we

Re: [Monotone-devel] url schemes

2008-03-24 Thread Timothy Brownawell
On Mon, 2008-03-24 at 12:53 +0100, Markus Schiltknecht wrote: > > I think the approach of only using slashes in the path of an URL is > > mostly used to obscur the structure of a web application. > > I disagree, but I guess that's a matter of taste. I just happen to like > RESTful APIs (which

Re: [Monotone-devel] url schemes

2008-03-30 Thread Timothy Brownawell
On Tue, 2008-03-25 at 12:20 +0100, Markus Schiltknecht wrote: > Hi, > > Timothy Brownawell wrote: > > push/pull/sync are not GET/PUT/DELETE operations, they need a lot of > > negotiation to find out what to send. They cannot be directly supported > > by dumb servers, y

Re: [Monotone-devel] mtn:// sync

2008-04-01 Thread Timothy Brownawell
On Tue, 2008-04-01 at 14:22 +0200, Ulf Ochsenfahrt wrote: > Richard Levitte wrote: > > In message <[EMAIL PROTECTED]> > on Thu, 20 Mar 2008 15:08:56 +, Peter Stirling > <[EMAIL PROTECTED]> said: > > > > peter> Is using '&' a good idea > > > > & is the standard parameter divisor for para

Re: [Monotone-devel] Broken build?

2008-04-02 Thread Timothy Brownawell
On Wed, 2008-04-02 at 22:16 +1100, William Uther wrote: > Hi all, > >It seems that something has recently broken the build (for non- > linux boxes). The last bit of the failed build looks like this: > > if g++ -DLOCALEDIR=\"/usr/local/monotone/share/locale\" - > DHAVE_CONFIG_H -I. -I. -I.

Re: [Monotone-devel] netsync usability regression on mainline

2008-04-05 Thread Timothy Brownawell
On Fri, 2008-04-04 at 14:16 -0400, Zack Weinberg wrote: > While testing the patch that makes known-servers variables still valid > after an upgrade to the current trunk, I noticed that netsync > operations with the new binary ask for my passphrase every single > time, even if the key is available

[Monotone-devel] --no-default-confdir option, new strings

2008-04-06 Thread Timothy Brownawell
There's a --no-default-confdir option to stop monotone from using ~/.monotone as the confdir even if you don't specify --confdir. This is because the commit_use_workspace_keydir test doesn't always pass --confdir, and as more default hooks start reading extra config files this will end up making th

Re: [Monotone-devel] [best practices] How to merge a large code dump with no history?

2008-05-24 Thread Timothy Brownawell
On Sat, 2008-05-24 at 09:33 -0400, Jack Lloyd wrote: > I just received a pretty large code dump for Botan that adds a number > interesting things. However all the changes are mixed together (about > 10 distinct changes). And one change, that converts all bare pointers > to either shared_ptr or auto

Re: [Monotone-devel] [best practices] How to merge a large code dump with no history?

2008-05-24 Thread Timothy Brownawell
On Sat, 2008-05-24 at 17:57 +0200, Ludovic Brenta wrote: > Jack Lloyd writes: > > I just received a pretty large code dump for Botan [...] > > I thought Botan used monotone upstream? Am I mistaken? Yes, Jack Lloyd is Botan upstream. ___ Monotone-dev

Re: [Monotone-devel] tests/automate_get_workspace_root broken on MinGW

2008-05-24 Thread Timothy Brownawell
On Sat, 2008-05-24 at 12:51 -0400, Stephen Leake wrote: > tests/automate_get_workspace_root/__driver__.lua does: > > check(indir("foo",mtn("automate", "get_workspace_root")), 0, true, false) > check(qgrep("^"..cwd.."$", "stdout")) > > That breaks on MinGW; the directory path has backslashes in it

[Monotone-devel] Buildbots on IRC?

2008-05-31 Thread Timothy Brownawell
Is there a way to get the buildbots to start reporting to the IRC channel again? They don't do much good if nobody notices them... ___ Monotone-devel mailing list Monotone-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/monotone-devel

[Monotone-devel] automate inventory broken

2008-05-31 Thread Timothy Brownawell
automate inventory is printing birth revisions for ignored files, which breaks the automate_inventory test. The automate_inventory_restricted test is also failing, which at first glance looks to be due to the same problem. ___ Monotone-devel mailing li

Re: [Monotone-devel] automate inventory broken

2008-06-01 Thread Timothy Brownawell
On Sun, 2008-06-01 at 04:37 -0400, Stephen Leake wrote: > Timothy Brownawell <[EMAIL PROTECTED]> writes: > > > automate inventory is printing birth revisions for ignored files, which > > breaks the automate_inventory test. The automate_inventory_restricted > > test i

Re: [Monotone-devel] Access violation after ctrl-c in monotone server

2008-06-21 Thread Timothy Brownawell
On Wed, 2008-06-18 at 14:58 -0700, Ciro Cornejo wrote: > I was starting the monotone server and didn't realize that it wasn't > going to come back to me so I hit CTRL-C. > > Not coming back may be normal behavior (I don't know). But even if it is > normal, it should still recover a bit more gracef

Re: [Monotone-devel] Representing EBCDIC history in monotone

2008-07-01 Thread Timothy Brownawell
On Tue, 2008-07-01 at 21:39 -0400, [EMAIL PROTECTED] wrote: > On Tue, Jul 01, 2008 at 05:10:28PM -0400, [EMAIL PROTECTED] wrote: > > On Tue, Jul 01, 2008 at 03:27:23PM -0400, Jack Lloyd wrote: > > > On Tue, Jul 01, 2008 at 03:22:05PM -0400, [EMAIL PROTECTED] wrote: > > > > > > > But there are a fe

Re: [Monotone-devel] BUG: Windows version doing an anonymous pull

2008-07-29 Thread Timothy Brownawell
On Tue, 2008-07-29 at 09:59 +0100, Philip Hannent wrote: > Hello, > > I tried to to an anonymous pull from two different servers using the native > windows build and it failed. I only have the get_passphrase function in my > monotonerc file. If I use MinGW bash shell and use monotone from that

Re: [Monotone-devel] question: how to organize a central repository with multiple projects ?

2008-09-03 Thread Timothy Brownawell
On Wed, 2008-09-03 at 10:46 -0500, Hugo Cornelis wrote: > Hi, > > > We are running a project that develops many individual software > components. Each software component can be run and used stand-alone, > and the software components can be glued together in various ways to > give different appli

Re: [Monotone-devel] Performance Issues With Version 0.40

2008-09-04 Thread Timothy Brownawell
On Sat, 2008-08-30 at 00:50 +0100, Anthony Edward Cooper wrote: > Hello all, > > I have recently been trying out version 0.40 of Monotone with the > application I'm developing (uses the automate stdio i/f) and I noticed a > very noticeable drop in the performance of the get_content_changed

Re: [Monotone-devel] Performance Issues With Version 0.40

2008-09-04 Thread Timothy Brownawell
On Thu, 2008-09-04 at 09:59 -0700, Zack Weinberg wrote: > On Thu, Sep 4, 2008 at 9:28 AM, Timothy Brownawell <[EMAIL PROTECTED]> wrote: > > Running lots (500) of get_content_changed commands thru automate stdio, > > it seems to be around 1 1/2 times slower here. There'

Re: [Monotone-devel] monotone philosophy (was Re: Undo a commit)

2008-10-09 Thread Timothy Brownawell
On Thu, 2008-10-09 at 17:44 +0100, Bruce Stephens wrote: > Bruce Stephens <[EMAIL PROTECTED]> writes: > > > Lapo Luchini <[EMAIL PROTECTED]> writes: > > [...] > > >> Uh, really? 0_o > >> I had thought for the past years that monotone meant just that… > > > > Yes, I think it was about monotonical

Re: [Monotone-devel] nvm.stripped test results + adding version numbers to version --full

2008-10-12 Thread Timothy Brownawell
On Sun, 2008-10-12 at 15:34 -0400, Jack Lloyd wrote: > I built nvm.stripped b6c549d4c9c28227000b62a3fe26b8e9aa7d6ab1 against > SQlite 3.5.9, Botan n.r.botan head, PCRE 7.7, Lua 5.1.3 on my > Gentoo/Core2 box, GCC 4.3.2. make check had two failures: > > 192 empty_environment

Re: [Monotone-devel] mtn db check

2008-10-12 Thread Timothy Brownawell
On Sun, 2008-10-12 at 19:33 +0200, Daniel Carrera wrote: > Hello, > > I'm reading the documentation of mtn db check. It says that, among other > things, this command will detect the following problem: > > "missing manifests that are referenced by their sha1 hash from some > revision but do not

Re: [Monotone-devel] Re: converting a monotone repository

2008-10-13 Thread Timothy Brownawell
On Sat, 2008-10-04 at 23:55 -0600, Derek Scherger wrote: [...] > One easy way to fix this problem is to have mercurial run monotone > with the '--root=.' option to prevent monotone from searching for a > _MTN directory. > [...] > > It also seems somewhat questionable to me that the monotone aut

Re: [Monotone-devel] Monotone Security

2008-10-14 Thread Timothy Brownawell
On Tue, 2008-10-14 at 18:12 +0200, Daniel Carrera wrote: > Hello, > > I have been working on a paper on Monotone's security. I have tried to > make it accurate, but I'm sure that there are still errors. But it's > probably good enough to merit posting. > > > http://daniel.carrera.name/Monotone

Re: [Monotone-devel] Monotone Security

2008-10-15 Thread Timothy Brownawell
On Wed, 2008-10-15 at 14:40 +0200, Daniel Carrera wrote: > > Outsiders without privileges > > "If an attacker manages to insert a new RSA key into the > > database"... commits with that key will be ignored *IF* everyone > > is using custom get_revision_cert_trust hooks. If anyone uses >

Re: [Monotone-devel] WARNING: ~/.monotone/keys CONSIDERED HARMFUL

2008-10-19 Thread Timothy Brownawell
On Sun, 2008-10-19 at 15:22 -0700, Robert White wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Howdy all, > > I don't know who decided that .monotone/keys was a good idea but it is > a DISASTER for me. > > For various reasons It is desirable to use the same real world > identity, q

Re: [Monotone-devel] WARNING: ~/.monotone/keys CONSIDERED HARMFUL

2008-10-20 Thread Timothy Brownawell
On Mon, 2008-10-20 at 10:57 +0200, Markus Wanner wrote: > Hi, > > Robert White wrote: > > Try things like wanting to be able to revoke/destroy one key when the > > contract is over etc. > > I fail to see how that's even possible in a distributed environment. The > only thing one single party can

[Monotone-devel] making I(), E(), N() throw bad_decode for network data

2008-11-09 Thread Timothy Brownawell
It's possible to I() a server by sending invalid data, this actually happened here when merge_into_dir came out and not-up-to-the-minute versions thought the resulting revisions were bogus. I've just pushed a revision that makes the sanity macros look at a 'made_from' value, and throw bad_decode i

Re: [Monotone-devel] making I(), E(), N() throw bad_decode for network data

2008-11-10 Thread Timothy Brownawell
On Mon, 2008-11-10 at 07:06 -0500, Stephen Leake wrote: > Timothy Brownawell <[EMAIL PROTECTED]> writes: > > > I've just pushed a revision that makes the sanity macros look at a > > 'made_from' value, and throw bad_decode instead of their norm

Re: [Monotone-devel] making I(), E(), N() throw bad_decode for network data

2008-11-10 Thread Timothy Brownawell
On Mon, 2008-11-10 at 13:15 +0100, Thomas Keller wrote: > Stephen Leake schrieb: > > Timothy Brownawell <[EMAIL PROTECTED]> writes: > > > >> I've just pushed a revision that makes the sanity macros look at a > >> 'made_from' value, and thr

Re: [Monotone-devel] weird monotone behavior

2008-11-15 Thread Timothy Brownawell
On Sat, 2008-11-15 at 20:22 -0600, Hugo Cornelis wrote: > Hi, > > I am using monotone 0.40 statically linked, downloaded from the > monotone website on a redhat enterprise server 5. I encountered the > following problem: > > I have a project that uses a database ~/neurospaces_project/MTN/install

Re: [Monotone-devel] weird monotone behavior

2008-11-16 Thread Timothy Brownawell
On Sat, 2008-11-15 at 20:46 -0600, Hugo Cornelis wrote: > Thanks for the fast answer, I should have spotted this myself. > > As you say it would be good if monotone handles this error condition > in a more graceful way, it still makes me feel a bit uncomfortable. It should catch this now, since e

Re: [Monotone-devel] Re: Monotone Mini Summit: 2009-01-18 - 2009-01-19

2008-11-28 Thread Timothy Brownawell
On Fri, 2008-11-28 at 13:21 +0100, Philipp Gröschler wrote: > Matthew A. Nicholson wrote: > > Please add your ideas to this list. > > * Concurrent access to a single Monotone database > > This has been discussed a few times, I'm not sure if a solution has > already come up. A few ideas on this t

Re: [Monotone-devel] monotone-0.41 compile failure with glibc(disabled-nls)

2008-11-29 Thread Timothy Brownawell
On Mon, 2008-11-17 at 05:17 +1100, Daniel Black wrote: > As per https://bugs.gentoo.org/show_bug.cgi?id=238540 monotone fails to > compile when glibc is compiled with --disable-nls. This occures even when > monotone is configured with ./configure --disable-nls. [...] > In file included > from >

Re: [Monotone-devel] Error on monotone server

2008-11-30 Thread Timothy Brownawell
On Tue, 2008-11-04 at 14:33 -0600, Mando Rodriguez wrote: > Hello, > > I have a monotone repository being hosted on a server. When doing a > pull it will hang on the revisions count and sometimes require the user > to terminate the process and attempt the pull 2 or 3 times before it > complete

Re: [Monotone-devel] fatal: std::logic_error: paths.cc:728: invariant 'I(!empty())' violated

2008-11-30 Thread Timothy Brownawell
On Fri, 2008-11-28 at 12:01 +0100, Vaclav Haisman wrote: > Hi, > I am getting this error when I try to do initial commit of my > /usr/local/etc: > > 35::root:/usr/local/etc> mtn commit -m "Initial import." > mtn: beginning commit on branch 'local.radlicka.amber2/usr/local/etc' > mtn: fatal: std::l

Re: [Monotone-devel] fatal: std::logic_error: paths.cc:728: invariant 'I(!empty())' violated

2008-11-30 Thread Timothy Brownawell
On Sun, 2008-11-30 at 22:17 +0100, Vaclav Haisman wrote: [...] > plain text document attachment (mtn-debug-log.txt) > mtn: searching for '_MTN' directory with root '/' > mtn: working root is '/usr/local/etc' > mtn: initial relative path is '' > mtn: skipping nonexistent rcfile '/root/.monotone/mono

Re: [Monotone-devel] Time for a release

2008-12-17 Thread Timothy Brownawell
On Wed, 2008-12-17 at 02:06 +0100, Thomas Keller wrote: > Thomas Keller schrieb: > > Its been a while already since 0.41 and I'd like to prepare a new > > release - probably the last one for 2008 ;) > > [...] > > * I've noticed a couple of fixes and changes on IRC which haven't made > > it into the

[Monotone-devel] "throw usage();" or "N();" for argument checking?

2009-01-03 Thread Timothy Brownawell
Many commands check for eg the right number of arguments like so: if (args.size() != 3) throw usage(execid); where others do N(args.size() == 0, F("no arguments needed")); This ought to be made consistent, does anyone object to using the 'throw usage();' version everywhere? -- T

Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?

2009-01-04 Thread Timothy Brownawell
On Sun, 2009-01-04 at 11:24 -0500, LeJacq, Jean Pierre wrote: > On Saturday 2009 January 03 20:56:52 Timothy Brownawell wrote: > > Many commands check for eg the right number of arguments like so: > > > > if (args.size() != 3) > > throw usage(execid); > >

Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?

2009-01-04 Thread Timothy Brownawell
On Sun, 2009-01-04 at 18:41 +0100, Markus Wanner wrote: > Hi, > > Timothy Brownawell wrote: > > "N(false, message)" results in "throw informative_faulure(message)", the > > question is what to throw rather than whether to throw. > > I'm with

Re: [Monotone-devel] "memory access violation" in win32 0.42 when canceling blocked `mtn diff --external` using Ctrl+C

2009-01-07 Thread Timothy Brownawell
On Wed, 2009-01-07 at 09:57 -0800, Zack Weinberg wrote: > On Wed, Jan 7, 2009 at 5:58 AM, Marcin W. Dąbrowski wrote: > > Hi all. > > > >>> Can you reproduce what the OP reported? > >> Unfortunately no (and yes ... see the end) > > > > +1 from here. > > > > And maybe some additional comment. I'm ha

Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?

2009-01-12 Thread Timothy Brownawell
On Sun, 2009-01-04 at 11:14 -0800, Zack Weinberg wrote: > >> > A command that does "throw usage()" gives the same result as calling > >> > "mtn help ", printing full usage info to stderr, where N() > >> > results in "mtn: misuse: " on stderr and will put a note in any > >> > debug log. > >> > >> As

Re: [Monotone-devel] Re: Mini Summit 2009

2009-01-17 Thread Timothy Brownawell
On Sat, 2009-01-17 at 11:16 -0500, Stephen Leake wrote: > Where is the IRC? I can't find instructions for that on the mtn wiki > (I _really_ miss the search facility there!). I have Jabber with an > IRC backend installed on my Debian box; where do I point it? It's on the front page, not the wiki.

[Monotone-devel] comments on merging nvm.error-handling?

2009-01-17 Thread Timothy Brownawell
net.venge.monotone.error-handling is meant to clean up our E(), I(), N() usage somewhat, so that for example receiving an invalid revision from the network will be treated differently than internally generating an invalid revision and won't crash the server. N() is gone, and E() takes an extra arg

Re: [Monotone-devel] Dealing with lost key

2009-01-17 Thread Timothy Brownawell
On Thu, 2009-01-15 at 14:19 -0800, dlakelan wrote: > I've lost a key which has been used to certify a variety of things in > one project. I've generated a new key, and now I'd like to replace all > the old certificates with new certificates from the new key, and have my > collaborators do the sa

[Monotone-devel] merging in "serve raw 'automate stdio' over network"

2009-01-17 Thread Timothy Brownawell
Branch net.venge.monotone.tbrownaw.serve_automate adds a --bind-automate option to 'mtn serve', to allow serving raw automate stdio over the network. This doesn't have any authentication, so it's only safe for private interfaces (127.x.x.x). This allows for concurrent netsync and "automate stdio"

Re: [Monotone-devel] merging in "serve raw 'automate stdio' over network"

2009-01-17 Thread Timothy Brownawell
On Sat, 2009-01-17 at 20:46 +, Timothy Brownawell wrote: > Branch net.venge.monotone.tbrownaw.serve_automate adds a --bind-automate > option to 'mtn serve', to allow serving raw automate stdio over the > network. This doesn't have any authentication, so it's only

Re: [Monotone-devel] encrypted netsync (was: merging in "serve raw 'automate stdio' over network")

2009-01-17 Thread Timothy Brownawell
On Sat, 2009-01-17 at 19:44 -0600, Matthew Nicholson wrote: > Timothy Brownawell wrote: > > > > I should also mention that I'm thinking we eventually want to move to > > SSH2 for encryption/authentication (pending finding a good server-side > > SSH2 library, t

Re: [Monotone-devel] Dealing with lost key

2009-01-17 Thread Timothy Brownawell
On Sat, 2009-01-17 at 15:05 -0800, dlakelan wrote: > Timothy Brownawell wrote: > > On Thu, 2009-01-15 at 14:19 -0800, dlakelan wrote: > >> I've lost a key which has been used to certify a variety of things in > >> one project. I've generated a new key, and

Re: [Monotone-devel] comments on merging nvm.error-handling?

2009-01-19 Thread Timothy Brownawell
On Sat, 2009-01-17 at 18:04 +, Timothy Brownawell wrote: > net.venge.monotone.error-handling is meant to clean up our E(), I(), N() > usage somewhat, so that for example receiving an invalid revision from > the network will be treated differently than internally generating an

Re: [Monotone-devel] comments on merging nvm.error-handling?

2009-01-20 Thread Timothy Brownawell
On Tue, 2009-01-20 at 10:01 +0100, Markus Wanner wrote: > Hi, > > I also had this on my list for reviewing, but didn't get around doing > much... I suppose I should remember to wait longer next time... > Please remove commented out code, as in transforms.hh, ~ line 98. And > sanity.hh, ~ line 21

Re: [Monotone-devel] comments on merging nvm.error-handling?

2009-01-20 Thread Timothy Brownawell
On Tue, 2009-01-20 at 02:30 +, Timothy Brownawell wrote: > On Sat, 2009-01-17 at 18:04 +0000, Timothy Brownawell wrote: > > net.venge.monotone.error-handling is meant to clean up our E(), I(), N() > > usage somewhat, so that for example receiving an invalid revision from >

Re: [Monotone-devel] ViewMTN shows empty list of branches; error in log

2009-01-26 Thread Timothy Brownawell
On Mon, 2009-01-26 at 09:47 +0100, Ludovic Brenta wrote: > Hi > > I'm trying to restore the viewmtn service on www.ada-france.org. > In the home page of the web interface, the list of branches is empty. > The list of tags is OK; from a tag I can then navigate to a branch. > Whenever I reload the

Re: [Monotone-devel] ViewMTN seems to have trouble talking to monotone

2009-01-28 Thread Timothy Brownawell
On Thu, 2009-01-29 at 00:58 +0100, Ludovic Brenta wrote: > Hi, it's me again. > > After I announced the Ada-France ViewMTN server publicly, I received > several reports from people getting "500 Internal Server Error" > whenever clicking a link in the web interface. This is strange > because in my

Re: [Monotone-devel] ViewMTN seems to have trouble talking to monotone

2009-01-28 Thread Timothy Brownawell
On Thu, 2009-01-29 at 01:24 +0100, Ludovic Brenta wrote: > Timothy Brownawell writes: > > Is viewmtn looking at the same database as a "mtn serve" process? > > Monotone will give errors if you try to use a db that another > > process has locked for writing (

[Monotone-devel] Re: nvm.error-handling seems to have caused a serious slowdown

2009-01-31 Thread Timothy Brownawell
On Mon, 2009-01-26 at 23:10 -0800, Zack Weinberg wrote: > I just merged mainline into .stripped and I noticed a major slowdown > in the testsuite, which seems to be down to the error-handling > changes: "make check-local -j4" goes like this: > > before merge > > real 5m8.249s > user 3m45.818s

[Monotone-devel] Re: "mtn: error/misuse: detected at ..."

2009-02-15 Thread Timothy Brownawell
On Mon, 2009-02-09 at 12:15 -0800, Zack Weinberg wrote: > I just noticed that current trunk monotone prints an extra line when > it detects an error or misuse: > > $ ./mtn co > mtn: misuse: detected at ../S-vanilla/database.cc:3,855 > mtn: misuse: no database specified > > (I assume this came in

Re: [Monotone-devel] Trouble to pull from monotone.ca and mtn-host.prjek.net

2009-02-18 Thread Timothy Brownawell
On Wed, 2009-02-18 at 13:04 -0300, João Felipe Santos wrote: > Hello, > > I'm trying since some days ago to pull "net.venge.monotone*" from > monotone.ca and mtn-host.prjek.net with no success. Synchronizing > begins but stops after some time. Does anybody know if the servers are > experiencing so

  1   2   3   4   5   6   7   >