[Monotone-devel] Re: Testsuite status (SoC)

2006-07-12 Thread Timothy Brownawell
On Wed, 2006-07-05 at 23:39 -0500, Timothy Brownawell wrote: There is minimal documentation in tester.txt and testsuite.txt now, currently only having short descriptions of the available functions. I've also fixed a problem where the tester couldn't set env vars reliably, and a place where

Re: [Monotone-devel] Dumb Question

2006-07-12 Thread Timothy Brownawell
On Wed, 2006-07-12 at 12:20 -0700, Rob Schoening wrote: Is there a recommended way to roll a particular file or files back to a particular revision? mtn update affects the entire workspace, which I don't want. Obviously mtn cat -r revision foo.txt foo.txt will work, but this seems wrong.

Re: [Monotone-devel] explicit_merge with ancestor

2006-07-13 Thread Timothy Brownawell
On Thu, 2006-07-13 at 11:36 -0400, Craig Lennox wrote: Whatever happened to the optional ANCESTOR argument to explicit_merge? Our merge algorithms improved, so it isn't really needed any more. We don't need an ancestor at all unless there's a content conflict, and then we now pick the best

Re: [Monotone-devel] Re: Dumb Question

2006-07-13 Thread Timothy Brownawell
On Thu, 2006-07-13 at 11:03 -0700, Steven E. Harris wrote: Nathaniel Smith [EMAIL PROTECTED] writes: Other VCSes have historically overloaded the 'update' command, so it performed a bunch of logically unrelated functions -- moving your work in progress, doing merges, reverting files, you

Re: [Monotone-devel] Re: Testsuite status (SoC)

2006-07-13 Thread Timothy Brownawell
On Thu, 2006-07-13 at 01:43 -0700, Nathaniel Smith wrote: On Wed, Jul 12, 2006 at 01:09:19AM -0500, Timothy Brownawell wrote: The new testsuite seems to be done now, but some things aren't optimal yet. In particular I'd like to make tester fairly independent from the rest of monotone

Re: [Monotone-devel] disturbing errors from 'mtn db check' on monotone repo

2006-07-14 Thread Timothy Brownawell
On Fri, 2006-07-14 at 21:31 -0700, Zack Weinberg wrote: Debian just picked up monotone 0.27, so I thought it would be good to run db check over my local repository. It spewed errors at me, e.g. mtn: revision 0b09ae42e28165400b8023880c3efca0863a7d87 missing branch cert This *could* be

Re: [Monotone-devel] Bug in pull

2006-07-15 Thread Timothy Brownawell
On Sat, 2006-07-15 at 17:42 -0700, Eric Anderson wrote: When I attempt to pull from venge.net, if I don't have any key specified in my _MTN/options file, everything works fine. If I have a key specified, then I get: mtn: connecting to venge.net mtn: finding items to synchronize: mtn:

[Monotone-devel] Extending automate stdio

2006-07-16 Thread Timothy Brownawell
With moving more commands into automate we'll need improvements to automate stdio, firstly so that restrictions are usable, and secondly to allow for an input stream (this will be useful if we decide that, say, a 'merge' variant should be available through automate). It would also be nice to allow

Re: [Monotone-devel] Wrong (current time) creation date after checkout

2006-07-16 Thread Timothy Brownawell
On Sun, 2006-07-16 at 21:53 +0200, Thomas Haas wrote: Hi I am using motone 0.27 Cygwin on Windows XP. The creation date (ls -l) on files checked out (using mtn checkout or mtn revert) is set to the current time. My expectation is the creation date on files being the same after checkout

Re: [Monotone-devel] Re: Extending automate stdio

2006-07-16 Thread Timothy Brownawell
On Sun, 2006-07-16 at 16:29 -0700, Steven E. Harris wrote: Timothy Brownawell [EMAIL PROTECTED] writes: The input format is currently 'l' string [string [...]] 'e' By the way, what does the 'l' stand for? I keep reading it as a one in the documentation, its meaning as a letter

Re: [Monotone-devel] Re: Extending automate stdio

2006-07-17 Thread Timothy Brownawell
On Sun, 2006-07-16 at 22:59 -0700, Nathaniel Smith wrote: On Sun, Jul 16, 2006 at 06:51:32PM -0500, Timothy Brownawell wrote: It's apparently for list (and the 'e' is end), and comes from something called bencoding. ...looking to see what bencoding is, Google gives http

Re: [Monotone-devel] Re: Testsuite status (SoC)

2006-07-19 Thread Timothy Brownawell
On Thu, 2006-07-13 at 17:27 -0500, Timothy Brownawell wrote: So far I have sanity dependencies reduced to ui, quick_alloc, platform, simplestring_xform, constants, and numeric_vocab. constants is only used for default_encoding by split_into_lines, and for log_line_sz in sanity.cc. sanity

Re: [Monotone-devel] Re: Testsuite status (SoC)

2006-07-25 Thread Timothy Brownawell
On Wed, 2006-07-19 at 06:09 -0500, Timothy Brownawell wrote: I've given the lua extension functions (monotone_*_for_lua) a LUAEXT() macro, which does more-or-less the same thing as CMD() and AUTOMATE() do. They can be split up into different files now, and the specific extensions that need

Re: [Monotone-devel] memory exhausted error for 'mtn list status' command

2006-07-29 Thread Timothy Brownawell
On Fri, 2006-07-28 at 21:56 -0700, Drakie Awita wrote: Nathaniel: No, I'm not using Reiser FS; it happens on both ext3 FS (debian linux), and NTFS (Windows XP). I've found that, if I move the large un-versioned sub-directory (contrib/oss.boost.release) out of the project root dir, then

Re: [Monotone-devel] RFC/preview: automate interface for cvssync

2006-07-30 Thread Timothy Brownawell
On Tue, 2006-07-25 at 15:36 +0200, Christof Petig wrote: - these commands attach information* to an already present revision automate put_sync_info REVISION DOMAIN DATA attach data to REVISION in DOMAIN automate get_sync_info REVISION DOMAIN retrieve data from REVISION in DOMAIN

Re: [Monotone-devel] MTN-over-SSH's syntax

2006-08-01 Thread Timothy Brownawell
On Tue, 2006-08-01 at 10:48 +0200, Lapo Luchini wrote: Oh, and also: I sometime read on this list mtn-over-ssh can't do on a shared server because the file is locked and only one user can access at a time. But isn't that so even in mtn serve mode? mtn serve locks the db, yes. But it accepts

Re: [Monotone-devel] Scalability question

2006-08-04 Thread Timothy Brownawell
On 8/4/06, Jonathan S. Shapiro [EMAIL PROTECTED] wrote: If I understand the documents correctly, there are a whole lot of places in the monotone schema that are very similar to things we did in OpenCM. One of these bit us badly on scalability. I want to identify the issue, explain how it bit us,

Re: [Monotone-devel] Re: Scalability question

2006-08-04 Thread Timothy Brownawell
On 8/4/06, Jonathan S. Shapiro [EMAIL PROTECTED] wrote: On Fri, 2006-08-04 at 21:24 +0200, Koen Kooi wrote: $ cd baz/ $ touch foo $ mtn add baz mtn: misuse: no such file or directory: 'packages/e17/baz/baz' This is correct. You're trying to add baz/baz, which doesn't exist. Koen: Are

Re: [Monotone-devel] Nested projects in workspace

2006-08-04 Thread Timothy Brownawell
On 8/4/06, Jonathan S. Shapiro [EMAIL PROTECTED] wrote: The manual seems to say that monotone takes the one tree approach -- there is a top (root) directory for the project, and everything under that is assumed to be part of the project. Monotone allows for unknown files in a workspace. The

Re: [Monotone-devel] Re: Scalability question

2006-08-04 Thread Timothy Brownawell
On 8/4/06, Bruce Stephens [EMAIL PROTECTED] wrote: Jonathan S. Shapiro [EMAIL PROTECTED] writes: [...] Also, the need to sync a 400 kbyte object in order to begin a checkout is very disconcerting to users -- especially when you are doing it over a slow link at (e.g.) a hotel or (e.g.) a PPP

Re: [Monotone-devel] Nested projects in workspace

2006-08-04 Thread Timothy Brownawell
On 8/4/06, Jonathan S. Shapiro [EMAIL PROTECTED] wrote: On Fri, 2006-08-04 at 15:01 -0500, Timothy Brownawell wrote: Depending on the answer, would you consider a patch to add this behavior or (if it already exists) clarify this part of the documentation? I can't speak for everyone, but I

Re: [Monotone-devel] responses to some IRC discussion of 'automate'

2006-08-07 Thread Timothy Brownawell
On Mon, 2006-08-07 at 10:21 +0200, Thomas Keller wrote: Nathaniel Smith wrote: SELECT ra1.child FROM revision_ancestry ra1 LEFT JOIN revision_ancestry ra2 ON ra1.child=ra2.parent INNER JOIN revision_certs rc ON ra1.child=rc.id AND rc.name=branch AND rc.value LIKE net.venge.monotone

[Monotone-devel] killing popt

2006-08-12 Thread Timothy Brownawell
nvm.experiment.boost-program-options works now, and I think it's ready for mainline. The only visible change (at least, the only change noticed by the testsuite) is that --option= doesn't work any more; --option '' is still fine. This appears to be a misfeature in boost::program_options. Option

Re: [Monotone-devel] [PATCH] New lua command execute_redirout which executes an os command and captures standard output

2006-08-14 Thread Timothy Brownawell
On Mon, 2006-08-14 at 01:00 -0400, Daniel Dickinson wrote: The following diff adds a new command for use in lua hooks. The command is called execute_redirout. I chose the name based on spawn_redir and execute. Ok... Also, I couldn't figure out how to get mtn diff to not include the .po

Re: [Monotone-devel] [PATCH] New lua command execute_redirout which executes an os command and captures standard output

2006-08-14 Thread Timothy Brownawell
On Mon, 2006-08-14 at 15:39 -0400, Daniel Dickinson wrote: Erm, but I think mkstemp returns a file handle and spawn_redirected takes a filename which it opens (and truncates) or creates, so you can't simply feed the output of lua's mkstemp() into spawn_redirected unless lua file handles are

Re: [Monotone-devel] Re: [PATCH] New lua command execute_redirout which executes an os command and captures standard output

2006-08-14 Thread Timothy Brownawell
On Mon, 2006-08-14 at 16:19 -0700, Graydon Hoare wrote: Bruce Stephens wrote: Well, an obvious alternative would be to provide those two operations as lua functions. How portable is stat as a command? Yes, I'd much prefer writing stat() and readlink() lua functions. Both functions are

Re: [Monotone-devel] key strangenesses

2006-08-22 Thread Timothy Brownawell
On Tue, 2006-08-22 at 19:20 +0200, Jon Bright wrote: Hi, While trying to import my monotone key into a fresh install of monotone, I noticed two things: 1. Despite my having committed stuff to n.v.m in the past, the public half of my key wasn't in a freshly-pulled DB. Have I

Re: [Monotone-devel] Incorporating debian/* changes in releases

2006-08-25 Thread Timothy Brownawell
On Fri, 2006-08-25 at 15:21 -0600, Shaun Jackman wrote: Hmmm, the problem seems to be that I omitted that second argument to mtn push. Could the pattern argument default to something more useful, like say the branch specified in _MTN/options? What is the current default patten? Should `mtn

Re: [Monotone-devel] automate stdio, really

2006-08-30 Thread Timothy Brownawell
On Wed, 2006-08-30 at 14:25 +0200, Richard Levitte - VMS Whacker wrote: Hi, I just looked at today's IRC log, and saw a discussion about making a automate commit command. Isn't this going a bit far? Soon, we will have automate commands for all normal commands if we continue like this.

Re: [Monotone-devel] Branching and push seems to be sending an overly large amount of data

2006-08-31 Thread Timothy Brownawell
On Thu, 2006-08-31 at 08:48 -0400, Daniel Dickinson wrote: I am pushing a branch I have started for attr scan and related development (which I've done as net.venge.monotone.cshore.attr-scan with the intention that .cshore.* is where I put public stuff I'm working on, with different branches

Re: [Monotone-devel] Monotone performance degrades dramatically

2006-08-31 Thread Timothy Brownawell
On Thu, 2006-08-31 at 10:45 -0700, Steven Grimm wrote: [...] And I am definitely seeing performance degrade. The first 20 revisions took about 6 seconds to get through; now it's up at revision 485 and it's taking 2 seconds per commit. While it's sitting there it is chewing 100% of one of

Re: [Monotone-devel] mtn lua execute

2006-09-05 Thread Timothy Brownawell
On Tue, 2006-09-05 at 19:29 +0100, Andy Jones wrote: Here's a wild idea for the wishlist. One that shouldn't take much work to implement. We already have mtn db execute to run an unspecified SQL query. How about a similar command to run an unspecified lua function from monotonerc? Maybe

Re: [Monotone-devel] [RFC] versioned policy -- introduction

2006-09-07 Thread Timothy Brownawell
On Wed, 2006-09-06 at 23:28 -0700, Nathaniel Smith wrote: * Our key names are required to be globally unique over space and time. This turns out to be very bad; we need to make it possible to get rid of old keys, and create new ones. That each key used burns a hole in this

Re: [Monotone-devel] Re: [RFC] versioned policy -- introduction

2006-09-07 Thread Timothy Brownawell
On Thu, 2006-09-07 at 22:18 -0700, Nathaniel Smith wrote: Also, is this one trust seed per database? So does this force one database per project (quite probably a good way to do things, but not the way everyone works currently)? Maybe! Or maybe not; nothing is set in stone yet. But a

Re: [Monotone-devel] Re: [patch] roster-deltas (40% pull speedup)

2006-09-08 Thread Timothy Brownawell
On Fri, 2006-09-08 at 16:18 +0200, Markus Schiltknecht wrote: [EMAIL PROTECTED] wrote: Is there a description somewhere just what rosters are? The last word I remember on the subject many months ago was that they were an internal data structure that was hard to explain. Has there been any

Re: [Monotone-devel] Re: [RFC] versioned policy -- introduction

2006-09-08 Thread Timothy Brownawell
On Fri, 2006-09-08 at 01:05 -0700, Zack Weinberg wrote: On 9/7/06, Timothy Brownawell [EMAIL PROTECTED] wrote: On Thu, 2006-09-07 at 22:18 -0700, Nathaniel Smith wrote: For pretty much any operation, we need to know what trust seed to use, up-front -- this is dramatically simplified

Re: [Monotone-devel] Re: [RFC] versioned policy -- introduction

2006-09-08 Thread Timothy Brownawell
On Fri, 2006-09-08 at 16:12 +0100, Bruce Stephens wrote: Timothy Brownawell [EMAIL PROTECTED] writes: On Fri, 2006-09-08 at 01:05 -0700, Zack Weinberg wrote: [...] Seems like what is really wanted there is a cross-database merge, where you declare some mapping between trust

[Monotone-devel] [RFC] DAG-based revision refinement

2006-09-08 Thread Timothy Brownawell
There's been some minor thought given to having a refinement scheme for revisions (for netsync) that makes use of the DAG structure to do better than the merkle refinement we do now. Merkle refinement is O(d*log n), d being the size of the difference between the sets. It also has a problem where

Re: [Monotone-devel] Re: [RFC] versioned policy -- introduction

2006-09-09 Thread Timothy Brownawell
On Sat, 2006-09-09 at 20:51 +0200, Wim Oudshoorn wrote: SCENARIO I: Non project leader commits to branch FOO.Stable Expected behaviour: This commit should not by default be visible in the UI, so nobody will by

Re: [Monotone-devel] Error handling via automate

2006-09-09 Thread Timothy Brownawell
On Sun, 2006-09-10 at 12:34 +1000, Daniel Carosone wrote: Possibly the structure of SMTP/HTTP/FTP/... style response codes are a useful precedent? Or possibly there should be a small set of errors defined on a per-command basis? Would an 'automate' locale/translation, with

Re: [Monotone-devel] Re: [RFC] versioned policy -- introduction

2006-09-10 Thread Timothy Brownawell
On Sun, 2006-09-10 at 08:44 +0200, Wim Oudshoorn wrote: Timothy Brownawell [EMAIL PROTECTED] writes: SCENARIO III: A project leader leaves - Expected behaviour: The new or remaining project leader can revoke the 'commit' rights

Re: [Monotone-devel] Re: [RFC] versioned policy -- bootstrapping

2006-09-10 Thread Timothy Brownawell
On Sun, 2006-09-10 at 14:01 +0200, Wim Oudshoorn wrote: Nathaniel Smith [EMAIL PROTECTED] writes: (For archive readers: this should be read after http://article.gmane.org/gmane.comp.version-control.monotone.devel/8169 ) Another try --- Here's an algorithm that does

Re: [Monotone-devel] Error handling via automate

2006-09-10 Thread Timothy Brownawell
On Mon, 2006-09-11 at 13:08 +1000, Daniel Carosone wrote: On Sun, Sep 10, 2006 at 02:45:28AM -0700, Nathaniel Smith wrote: On Sun, Sep 10, 2006 at 12:34:56PM +1000, Daniel Carosone wrote: Would an 'automate' locale/translation, with machine-friendly messages like this, be unreasonable?

Re: [Monotone-devel] Meta-policy proposal

2006-09-11 Thread Timothy Brownawell
On Sun, 2006-09-10 at 23:53 -0700, Zack Weinberg wrote: Otherwise the cert must declare the same policy branch as its parent revision's branch cert. (For merges, it only has to agree with the parent with the same name.) Why? What if I *want* to have the same branch name under a different

Re: [Monotone-devel] Meta-policy proposal

2006-09-11 Thread Timothy Brownawell
On Mon, 2006-09-11 at 13:59 -0700, Zack Weinberg wrote: On 9/11/06, Timothy Brownawell [EMAIL PROTECTED] wrote: On Sun, 2006-09-10 at 23:53 -0700, Zack Weinberg wrote: What if I *want* to have the same branch name under a different policy, such as because I'm forking? I think

Re: [Monotone-devel] Meta-policy proposal

2006-09-11 Thread Timothy Brownawell
On Mon, 2006-09-11 at 15:59 -0700, Rob Schoening wrote: Does monotone have a concept of a project? I didn't think it did, other than by convention. I'm not necessarily saying that it should, but since a lot of this use-case discussion revolves around authorization issues in the

Re: [Monotone-devel] Meta-policy proposal

2006-09-11 Thread Timothy Brownawell
On Mon, 2006-09-11 at 17:23 -0700, Zack Weinberg wrote: On 9/11/06, Timothy Brownawell [EMAIL PROTECTED] wrote: ...what happens if someone makes a parentless commit with that branch name but a different policy branch, then merges that in with merge_into_dir? Any time you merge

Re: [Monotone-devel] automate propagate

2006-09-13 Thread Timothy Brownawell
On Wed, 2006-09-13 at 17:05 -0500, Hugo Cornelis wrote: I have a project with 36 branches. Most have feature 'A', but not all of them. I have a small and necessary fix for 'A'. What is the most effective way to propagate the fix to all the branches that have feature 'A' ? Probably

Re: [Monotone-devel] SecPAL: Design and Semantics of a Decentralized Authorization Language

2006-09-15 Thread Timothy Brownawell
On Sat, 2006-09-16 at 00:18 +0100, Bruce Stephens wrote: I haven't read it yet, so it may not be of value to monotone. The title seemed interesting. http://lambda-the-ultimate.org/node/1728 We probably can't use it exactly (specifically the bit about using 'not' for enforcing separation of

[Monotone-devel] policy branch proposal (rough draft)

2006-09-16 Thread Timothy Brownawell
This is fairly heavily based on http://www.venge.net/monotone/wiki/VersionedPolicy . Here I'm assuming that we want to allow multiple projects (trust seeds) per db. I think that not allowing this is overly restrictive and probably unworkable, and especially not workable for shared hosting. This

Re: [Monotone-devel] [patch] adding branchname to parameters for validate_commit_message

2006-09-18 Thread Timothy Brownawell
On Mon, 2006-09-18 at 19:35 +0200, Marcel van der Boom wrote: Included is a small patch which adds branchname as a third parameter for the validate_commit_message. Rationale: We use the validate_commit_message to run a set of lua coded checks which run over the files which are

Re: [Monotone-devel] Performance improvement splitout

2006-09-18 Thread Timothy Brownawell
On Mon, 2006-09-18 at 11:08 -0700, Eric Anderson wrote: Nathaniel Smith writes: I also notice, on re-reading, that we are repeatedly calling select with nothing in the read or write fds, and with a zero timeout. Why the heck would we be doing that? It's basically a noop by

Re: [Monotone-devel] Build monotone with Microsoft Visual Studio 2005

2006-09-19 Thread Timothy Brownawell
On Tue, 2006-09-19 at 11:21 +0200, Jesper Ribbe wrote: Hello, I've tried to build monotone with MVS-2005 to track the filesystem conversion problems I've had. I followed the instructions on the wiki and have succesfully built boost. However I've got some problems when building monotone

Re: [Monotone-devel] merge_into_dir wanted behaveour?

2006-09-20 Thread Timothy Brownawell
On Wed, 2006-09-20 at 18:31 +0200, Johan Bolmsjö wrote: Hello, I don't know if this is the right mailing list for this question but here it goes. I have some small utility libraries that I don't wish to package for system wide installation that I use in other branches. I tried to use

Re: [Monotone-devel] Re: po/ChangeLog

2006-09-23 Thread Timothy Brownawell
On Sat, 2006-09-23 at 17:38 +0200, Marcel van der Boom wrote: While we're on the subject, out of curiosity, what is the rationale behind having a ChangeLog file in the first place? I'd almost think so too, but any output massaging probably wouldn't be entirely portable. Then there's also the

Re: [Monotone-devel] monotone 0.30 hangs when performing sync on certain databases

2006-09-23 Thread Timothy Brownawell
On Fri, 2006-09-22 at 16:16 +0200, Markus Meyer wrote: Daniel Carosone schrieb: Could you try and reproduce it for file:// databases on local filesystems first, without the samba share? Sure, I just did that: the problem also happens when both databases are in the same directory on the

Re: [Monotone-devel] monotone 0.30 hangs when performing sync on certain databases

2006-09-25 Thread Timothy Brownawell
On Mon, 2006-09-25 at 09:57 -0400, Michael Milner wrote: On Fri, 2006-09-22 at 16:16 +0200, Markus Meyer wrote: Sure, I just did that: the problem also happens when both databases are in the same directory on the local harddisc on Windows 2000. The same two databases sync fine when they

Re: [Monotone-devel] [PATCH] Specifying multiple --message arguments for commits

2006-09-30 Thread Timothy Brownawell
On Sat, 2006-09-30 at 21:17 +0200, Thomas Moschny wrote: On Saturday 30 September 2006 19:59 Evan Deaubl wrote: The only thing I'm worried about is the line separator I used, but I didn't see anywhere in the code where line separators were specified, and I saw straight LFs being used most

Re: [Monotone-devel] Dump the database in human readable form

2006-10-17 Thread Timothy Brownawell
On Tue, 2006-10-17 at 15:28 -0400, Jon Smirl wrote: I'm importing small test CVS repositories to monotone. Is there some way to dump the entire monotone database in an easily understandable form so that I can check if the import was done correctly? Not really... there is 'mtn db dump', but

Re: [Monotone-devel] Extensions to automation, again

2006-10-18 Thread Timothy Brownawell
On Wed, 2006-10-18 at 18:53 +0200, Thomas Keller wrote: Hi all! So I was struggeling around today what I could do with guitone as the whole graph creating thing is stucked a bit and thought some kind of diff dialog would be cool to build in. Then I thought about the prerequisites of such a

Re: [Monotone-devel] auto updates

2006-10-20 Thread Timothy Brownawell
On Fri, 2006-10-20 at 13:27 +1000, Brian May wrote: Hello. Is possible to get something like this to work? [EMAIL PROTECTED]:/tmp$ cat /home/brian/.monotone/monotonerc function note_netsync_end(nonce) chdir(/home/brian/tree/config) execute(mtn,update) end Ideally I

Re: [Monotone-devel] auto updates

2006-10-20 Thread Timothy Brownawell
On Sat, 2006-10-21 at 09:32 +1000, Brian May wrote: Timothy I'm not sure you can, and if you can I'm not sure that Timothy things would work as expected (monotone probably wouldn't Timothy like suddenly finding itself somewhere it didn't think it Timothy was). Yes, this

Re: [Monotone-devel] automate stdio extensions

2006-10-24 Thread Timothy Brownawell
On Tue, 2006-10-24 at 01:05 -0700, Nathaniel Smith wrote: Right now, 'automate stdio's parser silently ignores anything between the e that ends one command, and the l that starts the next. I guess the idea was to make it easier to add extensions in the future? I think so. But having it throw

[Monotone-devel] Improving the note_netsync_* hooks for logging

2006-10-24 Thread Timothy Brownawell
There's a new branch nvm.tbrownaw.netsync-note-hooks that changes the note_netsync_* hooks slightly, as well as some supporting changes in netsync.cc . The most noticable change to the hooks is that note_netsync_start is now called at the beginning of the connection, and that note_netsync_start

Re: [Monotone-devel] netsync transport encryption?

2006-10-24 Thread Timothy Brownawell
On Tue, 2006-10-24 at 14:50 -0400, Cem Karan wrote: Hi all, I've been asked by my boss to evaluate various SCM options to see what fits our needs best. I found Monotone via the Better SCM Initiative (http://better-scm.berlios.de/comparison/), and it looks like it fits our needs quite

Re: [Monotone-devel] Improving the note_netsync_* hooks for logging

2006-10-25 Thread Timothy Brownawell
On Wed, 2006-10-25 at 11:24 -0500, Matthew A. Nicholson wrote: Timothy Brownawell wrote: Currently it uses these, somewhat based on the HTTP codes: const static int no_error = 200; const static int bad_request = 400; const static int protocol_error = 401; const static int

Re: [Monotone-devel] Questions pertaining Eclipse Integration

2006-10-28 Thread Timothy Brownawell
On Sat, 2006-10-28 at 18:23 +0200, Ulf Ochsenfahrt wrote: Hi all! I've got a few questions. Some of these may already have answers, others may not. I looked into the manual and checked the monotone built-in help, but found no easy answer to these. - How does monotone select a (default)

Re: [Monotone-devel] Questions pertaining Eclipse Integration

2006-10-28 Thread Timothy Brownawell
On Sat, 2006-10-28 at 21:59 +0200, Ulf Ochsenfahrt wrote: - How can I add a directory non-recursively? Richard: I'm not sure you can. If you want to add specific files in a directory, just add them, the directory itself will be added automagically if needed. Timothy: ...why

Re: [Monotone-devel] Questions pertaining Eclipse Integration

2006-10-28 Thread Timothy Brownawell
On Sat, 2006-10-28 at 23:57 +0200, Ulf Ochsenfahrt wrote: Timothy Brownawell wrote: 'mtn drop -R' is recursive. (hey, we do have a --recursive option. Can we add a --non-recursive and kill --depth?) Attached is a patch that changes mtn default behavior to add non-recursively and uses

Re: [Monotone-devel] Questions pertaining Eclipse Integration

2006-10-28 Thread Timothy Brownawell
On Sun, 2006-10-29 at 00:37 +0200, Ulf Ochsenfahrt wrote: [...] The passphrase dialog on commit is my biggest problem right now. If the passphrase is set in the default monotonerc, then I'd rather just use that. If it's not set, I have to ask the user. Jon's original code would always ask

Re: [Monotone-devel] Questions pertaining Eclipse Integration

2006-10-28 Thread Timothy Brownawell
On Sat, 2006-10-28 at 23:57 +0200, Ulf Ochsenfahrt wrote: Timothy Brownawell wrote: 'mtn drop -R' is recursive. (hey, we do have a --recursive option. Can we add a --non-recursive and kill --depth?) Attached is a patch that changes mtn default behavior to add non-recursively and uses

Re: [Monotone-devel] passphrase management

2006-10-28 Thread Timothy Brownawell
On Sun, 2006-10-29 at 12:52 +1100, Brian May wrote: Ulf == Ulf Ochsenfahrt [EMAIL PROTECTED] writes: Ulf The passphrase dialog on commit is my biggest problem right Ulf now. If the passphrase is set in the default monotonerc, then Ulf I'd rather just use that. If it's not set, I

Re: [Monotone-devel] auto updates

2006-10-29 Thread Timothy Brownawell
On Sun, 2006-10-29 at 17:05 +1100, Brian May wrote: On Sun, Oct 29, 2006 at 04:58:22PM +1100, Brian May wrote: Mybe I am still confused, I would have though that pulling from a database inside a hook that has been trigered by an update to that database would cause lock contention. Yes, I

Re: [Monotone-devel] auto updates

2006-10-29 Thread Timothy Brownawell
On Sun, 2006-10-29 at 00:36 -0700, Nathaniel Smith wrote: I don't know offhand if we have a spawn-in-background function exposed to hooks, though even if we don't, you could hack it by executing the shell and putting at the end of your command line :-). Oh, right, we do actually.

[Monotone-devel] Re: [RFC] New options handling

2006-11-01 Thread Timothy Brownawell
On Sun, 2006-10-22 at 18:28 -0500, Timothy Brownawell wrote: Thoughts, comments? Does this sound like a good way to handle things? Nobody's said anything, so I guess there isn't anything horribly wrong with it. So, it's on mainline now. New option handling

Re: [Monotone-devel] Questions pertaining Eclipse Integration

2006-11-02 Thread Timothy Brownawell
On Sat, 2006-10-28 at 23:57 +0200, Ulf Ochsenfahrt wrote: Timothy Brownawell wrote: 'mtn drop -R' is recursive. (hey, we do have a --recursive option. Can we add a --non-recursive and kill --depth?) Attached is a patch that changes mtn default behavior to add non-recursively and uses

Re: [Monotone-devel] invariant failure: fetching nonexistent entry from children

2006-11-02 Thread Timothy Brownawell
On Fri, 2006-11-03 at 09:07 +1100, Brian May wrote: $HOME/queens/cisc499/papers Neil $ mtn diff . Neil mtn: warning: restriction excludes addition of '2006/cisc499' but Neil includes addition of '2006/cisc499/papers' Yeah, restrictions aren't perfect yet. You're telling to

Re: [Monotone-devel] Questions pertaining Eclipse Integration

2006-11-03 Thread Timothy Brownawell
On Fri, 2006-11-03 at 11:26 +, Ulf Ochsenfahrt wrote: Timothy Brownawell wrote: On Sat, 2006-10-28 at 23:57 +0200, Ulf Ochsenfahrt wrote: Attached is a patch that changes mtn default behavior to add non-recursively and uses the -R option to reenable old behavior. This patch makes

Re: [Monotone-devel] Improving the note_netsync_* hooks for logging

2006-11-03 Thread Timothy Brownawell
On Wed, 2006-10-25 at 12:16 -0500, Timothy Brownawell wrote: On Wed, 2006-10-25 at 11:24 -0500, Matthew A. Nicholson wrote: You could have also used errno style error codes, although HTTP codes are probably more widely known (maybe not). Really, it's not just HTTP. There's also FTP

Re: [Monotone-devel] remote public key hash is unknown

2006-11-13 Thread Timothy Brownawell
On Mon, 2006-11-13 at 15:32 -0700, Shaun Jackman wrote: What is the gibberish-to-English translation of the following error message? I tried... mtn push localhost 21 |babelfish --from gibberish --to english ... without any luck. Thanks, Shaun P.S. My apologies for the

Re: [Monotone-devel] sync file-to-file problem

2006-11-16 Thread Timothy Brownawell
On Thu, 2006-11-16 at 09:14 -0800, Nathaniel Smith wrote: On Thu, Nov 16, 2006 at 03:03:04PM +0100, mariusz moleda wrote: I have a problem with synchronization between two databases. I make the same projects in work and in home on windows xp sp2. and I cannot synchronize my work

Re: [Monotone-devel] sync file-to-file problem

2006-11-17 Thread Timothy Brownawell
On Thu, 2006-11-16 at 11:06 -0800, Nathaniel Smith wrote: On Thu, Nov 16, 2006 at 12:21:28PM -0600, Timothy Brownawell wrote: On Thu, 2006-11-16 at 09:14 -0800, Nathaniel Smith wrote: On Thu, Nov 16, 2006 at 03:03:04PM +0100, mariusz moleda wrote: I have a problem with synchronization

Re: [Monotone-devel] Keeping track of only two files from another branch/database

2006-11-18 Thread Timothy Brownawell
On Sat, 2006-11-18 at 06:23 -0200, Jeronimo Pellegrini wrote: Hi. I think Monotone's sanity.{hh,cc} is a great idea, and I'd like to use them in my project. However, I was wondering if there is an easy, automated way to do that, since both net.venge.monotone and info.aleph0.apso (my

Re: [Monotone-devel] mtn automate tcp

2006-11-19 Thread Timothy Brownawell
On Fri, 2006-11-17 at 14:30 +0100, Lapo Luchini wrote: I was thinking... wouldn't a automate tcp be useful? I mean something that just accepts TCP connections and then talks the automate stdio protocol: having an always-on server listening on 127.0.0.1:something could be very nice e.g. from

Re: [Monotone-devel] mtn automate tcp

2006-11-19 Thread Timothy Brownawell
On Fri, 2006-11-17 at 15:13 +0100, Thomas Keller wrote: Ulf Ochsenfahrt schrieb: 5. Multiple Access You'd need to figure out some way to handle the locking issues you get with multiple concurrent access. There is absolutely no concurrency in stdio today and I doubt it is useful to

Re: [Monotone-devel] mtn automate tcp

2006-11-19 Thread Timothy Brownawell
On Fri, 2006-11-17 at 14:47 +0100, Ulf Ochsenfahrt wrote: Lapo Luchini wrote: I was thinking... wouldn't a automate tcp be useful? [...] This approach has multiple problems (and probably more I'm not aware of right now): 2. Error Handling Right now, automate stdio handles errors by

Re: [Monotone-devel] Bug/patch: automate stdio

2006-11-28 Thread Timothy Brownawell
On Tue, 2006-11-28 at 10:27 -0800, Nathaniel Smith wrote: On Tue, Nov 28, 2006 at 12:05:02PM -0600, Timothy Brownawell wrote: On Sat, 2006-11-25 at 20:40 +0100, Christian Ohler wrote: There's a pretty serious bug in automate stdio in mtn 0.31 and mainline. Under certain circumstances

Re: [Monotone-devel] Re: Using monotone in a team

2006-11-29 Thread Timothy Brownawell
On Thu, 2006-11-30 at 17:06 +1100, Brian May wrote: Daniel == Daniel Carosone [EMAIL PROTECTED] writes: Daniel Again, it's not about permissions to change things, it's Daniel about whether your trust (ie, how you pay attention to) Daniel what they do. Daniel In this

Re: [Monotone-devel] Re: Using monotone in a team

2006-11-30 Thread Timothy Brownawell
On Thu, 2006-11-30 at 11:32 -0500, [EMAIL PROTECTED] wrote: On Thu, Nov 30, 2006 at 12:24:27AM -0600, Timothy Brownawell wrote: On Thu, 2006-11-30 at 17:06 +1100, Brian May wrote: Daniel == Daniel Carosone [EMAIL PROTECTED] writes: Daniel Again, it's not about permissions

Re: [Monotone-devel] Are public keys transmitted with netsync?

2006-11-30 Thread Timothy Brownawell
On Thu, 2006-11-30 at 14:34 +, Boris wrote: In the documentation Abe and Beth have to send their public keys to Jim. But there is no exchange of public keys between Abe and Beth. They both don't get Jim's public key either. I assume that once you connect to a monotone server the public

Re: [Monotone-devel] Re: Re: Re: Using monotone in a team

2006-11-30 Thread Timothy Brownawell
On Thu, 2006-11-30 at 23:41 +, Boris wrote: Hugo Cornelis wrote: An additional question : I have a project consisting of three parts : 1. A = Markov channels 2. B = cable equations 3. C = other things. I am the expert for the cable equations, J is the expert for markov

Re: [Monotone-devel] Re: Re: Re: Re: Using monotone in a team

2006-11-30 Thread Timothy Brownawell
On Fri, 2006-12-01 at 01:01 +, Boris wrote: Timothy Brownawell wrote: [...] The hook get_revision_cert_trust() is called for every value/name pair with a table (list) of signers. What you want to do here is to check if your new value/name pair which indicates the impact on A, B

Re: [Monotone-devel] Why does pull require -k?

2006-12-14 Thread Timothy Brownawell
On Thu, 2006-12-14 at 11:49 -0800, Justin Patrin wrote: On 12/14/06, Boris [EMAIL PROTECTED] wrote: After synchronizing my monotone database with another I can use 'mtn sync' and 'mtn push' just like that (as monotone remembers everything from the first sync). However 'mtn pull' tells me it

Re: [Monotone-devel] anyone want to try being release manager?

2006-12-14 Thread Timothy Brownawell
On Thu, 2006-12-14 at 21:00 -0800, Nathaniel J. Smith wrote: If you want to see what exactly is involved, there's notes/release-checklist.txt in the tree: http://viewmtn.angrygoats.net/revision/file/c2e89c03548a79d9203d06b0d662c2ad6f8e1f5d/notes/release-checklist.txt and of course if

Re: [Monotone-devel] Repeatable 'monotone serve' crash

2007-01-05 Thread Timothy Brownawell
On Thu, 2007-01-04 at 23:20 -0500, Ethan Blanton wrote: When serving the monotone database at: http://www.cs.purdue.edu/homes/eblanton/private/ical.mtn Using the config file: http://www.cs.purdue.edu/homes/eblanton/private/ical.monotonerc ... the monotone server crashes on a pull of

[Monotone-devel] Re: Deterministic *-merge

2007-01-12 Thread Timothy Brownawell
On Fri, 2007-01-12 at 08:02 -0800, Oren Ben-Kiki wrote: On Fri, 2007-01-12 at 03:00 -0800, Nathaniel J. Smith wrote: ... Deterministic merging = Beautiful! There's just one point I didn't follow, though. But, magically, with deterministic *-merge, all orders

[Monotone-devel] Re: Deterministic *-merge

2007-01-12 Thread Timothy Brownawell
On Fri, 2007-01-12 at 10:04 -0800, Justin Patrin wrote: On 1/12/07, Justin Patrin [EMAIL PROTECTED] wrote: On 1/12/07, Nathaniel J. Smith [EMAIL PROTECTED] wrote: [snip] Example 2 (super bonus edition) === A more wacky example is: a

[Monotone-devel] Re: Deterministic *-merge

2007-01-12 Thread Timothy Brownawell
On Fri, 2007-01-12 at 10:36 -0800, Oren Ben-Kiki wrote: On Fri, 2007-01-12 at 10:35 -0600, Timothy Brownawell wrote: Because the value of a merge node is chosen from *(node). The multi-*-merge writup at http://article.gmane.org/gmane.comp.version-control.revctrl/93 says

[Monotone-devel] project_t , and preparing for projects / policy branches

2007-01-13 Thread Timothy Brownawell
I've been reorganizing things somewhat to try to prepare for implementing a concept of a project that we'll need for the policy work. So far, this mostly means that I've added a project.{cc,hh} with a project_t class, and that things that make / query certs (and this includes things that ask

Re: [Monotone-devel] Security is hard. Let's work on policy branches anyway.

2007-01-20 Thread Timothy Brownawell
On Sat, 2007-01-20 at 03:15 -0800, Nathaniel J. Smith wrote: [snip snip snip] Example 3: +ab / \ -b/\-a / \ a1 b1 Here we have some sort of determined disagreement between admins. There isn't much monotone can do except point out the problem, and let

<    1   2   3   4   5   6   >