Re: [Monotone-devel] Unnamed directory in a changeset

2007-01-26 Thread Julio M. Merino Vidal
On 25/01/2007, at 18:55, Richard Levitte - VMS Whacker wrote: In message [EMAIL PROTECTED] on Thu, 25 Jan 2007 17:49:53 +0100, Julio M. Merino Vidal [EMAIL PROTECTED] said: jmmv84 For some reason, monotone is adding an unnamed directory to my jmmv84 changeset. I have hit this several

[Monotone-devel] read/write permissions

2007-01-26 Thread Boris
What happens if a user who has only read-permission for branch A writes something to branch B? As far as I see this is possible as write-permissions are per database and not per branch. If branch B is only for privileged users is it still protected? I'd say so as the new user can't link

Re: [Monotone-devel] Translation status script

2007-01-26 Thread Thomas Keller
Nathaniel J. Smith schrieb: If it's useful for development, why not stick it in contrib/ so everyone can easily find it? :-) Would be a possibility, of course, but I'd rather like to integrate it somewhere on venge.net and polish it a bit for web output. If it is good enough, it can go to

[Monotone-devel] mtn pluck default message

2007-01-26 Thread Wim Oudshoorn
If I do mtn pluck -r abcdef... and afterwards mtn commit --message=My message it will fail because mtn pluck has written the file _MTN/log with content similar to: applied changes from 1234... through abcd... Now I have two minor usability points: 1 - I was

Re: [Monotone-devel] Unnamed directory in a changeset

2007-01-26 Thread Richard Levitte - VMS Whacker
In message [EMAIL PROTECTED] on Fri, 26 Jan 2007 09:55:36 +0100, Julio M. Merino Vidal [EMAIL PROTECTED] said: jmmv84 On 25/01/2007, at 18:55, Richard Levitte - VMS Whacker wrote: jmmv84 jmmv84 This is by design, and only happens with the initial add to a new jmmv84 project. That unnamed

[Monotone-devel] web update hooks script

2007-01-26 Thread Thomas Keller
Hi all! Another nice little script from me, this time it deals with updating a website (or any other resource) as soon as revisions or certs for a particular branch, on which the resource is based, arrive. All you need then is a running mtn server process on the same server and everything should

Re: [Monotone-devel] web update hooks script

2007-01-26 Thread Thomas Keller
Hugo Cornelis schrieb: Mmmh, let me see if I understand this: So the script 'listens' to a particular branch, and on commit, pushes the branch to a remote repository or updates a different workspace ? It updates a different workspace. Just questions: can you call monotone do to a checkout

Re: [Monotone-devel] Monotone update lost deletions

2007-01-26 Thread Nathaniel J. Smith
On Thu, Jan 25, 2007 at 08:16:56AM -0800, J Decker wrote: I cleaned up this branch quite some time ago. After upgrading the database, it's complaining that files that were removed are missing. What further information can I give? You upgraded from what to what? What upgrade commands did you

Re: [Monotone-devel] Translation status script

2007-01-26 Thread Nathaniel J. Smith
On Tue, Jan 23, 2007 at 11:09:47AM +0100, Thomas Keller wrote: Hi all! I just wrote a little python script which shows me the translation status for monotone. For this purpose it queries the files directly via mtn cat and feeds them into msgfmt -cv. I initially thought this would be a

Re: [Monotone-devel] Re: A patch for monotone.el

2007-01-26 Thread Nathaniel J. Smith
...Did this ever get applied? (If you'd like to continue hacking on monotone.el, send me a key and you can commit your changes yourself...) -- Nathaniel On Thu, Jan 18, 2007 at 03:14:11PM -0800, Steven E. Harris wrote: Steven E. Harris [EMAIL PROTECTED] writes: I adjusted the handling of

Re: [Monotone-devel] web update hooks script

2007-01-26 Thread Ben Walton
I just did something similar the other night. Mine is much simpler though. It uses the netsync hooks on the server to run a script if there were revisions in (I don't care about branches in this case as we only ever have one for this particular project)...the script does a merge update. It

[Monotone-devel] Re: Making vocab-from-string constructors explicit?

2007-01-26 Thread Graydon Hoare
Zack Weinberg wrote: Does anyone have (good) reasons not to do this? I think it'd help us keep the code clean. I tried to do this once before. I found some real, if probably harmless, bugs doing it (things being converted to types they honestly weren't) and I think it's a great idea, but I

[Monotone-devel] Re: read/write permissions

2007-01-26 Thread Graydon Hoare
Boris wrote: What happens if a user who has only read-permission for branch A writes something to branch B? As far as I see this is possible as write-permissions are per database and not per branch. If branch B is only for privileged users is it still protected? I'd say so as the new user

[Monotone-devel] Re: read/write permissions

2007-01-26 Thread Bruce Stephens
Graydon Hoare [EMAIL PROTECTED] writes: [...] I believe at the moment that any database set up to reject the user writing to branch B will reject certificates from that user that bind a revision to B, and possibly reject the revision as well. I think write permissions are just per-user, so

Re: [Monotone-devel] Re: Making vocab-from-string constructors explicit?

2007-01-26 Thread Zack Weinberg
On 1/26/07, Graydon Hoare [EMAIL PROTECTED] wrote: Zack Weinberg wrote: I tried to [make vocab-from-string constructors explicit] once before. I found some real, if probably harmless, bugs doing it (things being converted to types they honestly weren't) and I think it's a great idea, but I

[Monotone-devel] Re: read/write permissions

2007-01-26 Thread Boris
On Sat, 27 Jan 2007 00:25:59 +0200, Bruce Stephens [EMAIL PROTECTED] wrote: Graydon Hoare [EMAIL PROTECTED] writes: [...] I believe at the moment that any database set up to reject the user writing to branch B will reject certificates from that user that bind a revision to B, and possibly

[Monotone-devel] Re: read/write permissions

2007-01-26 Thread Boris
On Fri, 26 Jan 2007 22:16:37 +0200, Graydon Hoare [EMAIL PROTECTED] wrote: Boris wrote: What happens if a user who has only read-permission for branch A writes something to branch B? As far as I see this is possible as write-permissions are per database and not per branch. If branch B is

Re: [Monotone-devel] Re: read/write permissions

2007-01-26 Thread Ben Walton
I think the project_t work that is being done currently might make this a little more sane. Personally, I've shied away from mixing multiple projects in one db in favour of a ~/monotone directory containing one .mtn db per project. It just felt cleaner to me. YMMV. -Ben On 1/26/07, Boris

Re: [Monotone-devel] Translation status script

2007-01-26 Thread Nathaniel J. Smith
On Fri, Jan 26, 2007 at 02:02:48PM +0100, Thomas Keller wrote: Nathaniel J. Smith schrieb: If it's useful for development, why not stick it in contrib/ so everyone can easily find it? :-) Would be a possibility, of course, but I'd rather like to integrate it somewhere on venge.net and

Re: [Monotone-devel] Monotone update lost deletions

2007-01-26 Thread J Decker
No, sorry, it was actually a WIP... On 1/25/07, Nathaniel J. Smith [EMAIL PROTECTED] wrote: On Thu, Jan 25, 2007 at 08:16:56AM -0800, J Decker wrote: I cleaned up this branch quite some time ago. After upgrading the database, it's complaining that files that were removed are missing. What