[PATCH 4/4] nmbug: Add an 'init' command

2014-09-15 Thread David Bremner
"W. Trevor King" writes: > > Give it a spin to kick the tires, and reply to the v4 patch saying > that none of the pieces fell off while you were kicking it ;). > Basically, it's just waiting for review and a consensus that it's a > solid change. v3 crashed when merging quite often for me. I'm

[PATCH 4/4] nmbug: Add an 'init' command

2014-09-15 Thread David Edmondson
On Mon, Sep 15 2014, W. Trevor King wrote: > On Mon, Sep 15, 2014 at 05:13:50PM +0100, David Edmondson wrote: >> On Sun, Jul 06 2014, W. Trevor King wrote: >> > For folks that want to start versioning a new tag-space, instead >> > of cloning one that someone else has already started. >> >> I

[PATCH 4/4] nmbug: Add an 'init' command

2014-09-15 Thread David Edmondson
On Sun, Jul 06 2014, W. Trevor King wrote: > For folks that want to start versioning a new tag-space, instead of > cloning one that someone else has already started. I tried this patch, and it (appeared) to work for me. Given that the procedure for creating a new tag repository is arcane, could

[PATCH 4/4] nmbug: Add an 'init' command

2014-09-15 Thread W. Trevor King
On Mon, Sep 15, 2014 at 08:09:11PM +0200, David Bremner wrote: > W. Trevor King writes: > > Give it a spin to kick the tires, and reply to the v4 patch saying > > that none of the pieces fell off while you were kicking it ;). > > Basically, it's just waiting for review and a consensus that it's >

[PATCH 4/4] nmbug: Add an 'init' command

2014-09-15 Thread W. Trevor King
On Mon, Sep 15, 2014 at 05:32:59PM +0100, David Edmondson wrote: > On Mon, Sep 15 2014, W. Trevor King wrote: > > On Mon, Sep 15, 2014 at 05:13:50PM +0100, David Edmondson wrote: > >> On Sun, Jul 06 2014, W. Trevor King wrote: > >> > For folks that want to start versioning a new tag-space, instead

[PATCH 4/4] nmbug: Add an 'init' command

2014-09-15 Thread W. Trevor King
On Mon, Sep 15, 2014 at 05:13:50PM +0100, David Edmondson wrote: > On Sun, Jul 06 2014, W. Trevor King wrote: > > For folks that want to start versioning a new tag-space, instead > > of cloning one that someone else has already started. > > I tried this patch, and it (appeared) to work for me.

Re: [PATCH 4/4] nmbug: Add an 'init' command

2014-09-15 Thread David Edmondson
On Sun, Jul 06 2014, W. Trevor King wrote: For folks that want to start versioning a new tag-space, instead of cloning one that someone else has already started. I tried this patch, and it (appeared) to work for me. Given that the procedure for creating a new tag repository is arcane, could

Re: [PATCH 4/4] nmbug: Add an 'init' command

2014-09-15 Thread David Edmondson
On Mon, Sep 15 2014, W. Trevor King wrote: On Mon, Sep 15, 2014 at 05:13:50PM +0100, David Edmondson wrote: On Sun, Jul 06 2014, W. Trevor King wrote: For folks that want to start versioning a new tag-space, instead of cloning one that someone else has already started. I tried this patch,

Re: [PATCH 4/4] nmbug: Add an 'init' command

2014-09-15 Thread W. Trevor King
On Mon, Sep 15, 2014 at 05:13:50PM +0100, David Edmondson wrote: On Sun, Jul 06 2014, W. Trevor King wrote: For folks that want to start versioning a new tag-space, instead of cloning one that someone else has already started. I tried this patch, and it (appeared) to work for me. Given

Re: [PATCH 4/4] nmbug: Add an 'init' command

2014-09-15 Thread W. Trevor King
On Mon, Sep 15, 2014 at 05:32:59PM +0100, David Edmondson wrote: On Mon, Sep 15 2014, W. Trevor King wrote: On Mon, Sep 15, 2014 at 05:13:50PM +0100, David Edmondson wrote: On Sun, Jul 06 2014, W. Trevor King wrote: For folks that want to start versioning a new tag-space, instead of

Re: [PATCH 4/4] nmbug: Add an 'init' command

2014-09-15 Thread W. Trevor King
On Mon, Sep 15, 2014 at 08:09:11PM +0200, David Bremner wrote: W. Trevor King writes: Give it a spin to kick the tires, and reply to the v4 patch saying that none of the pieces fell off while you were kicking it ;). Basically, it's just waiting for review and a consensus that it's a solid

[PATCH 4/4] nmbug: Add an 'init' command

2014-07-15 Thread David Bremner
"W. Trevor King" writes: > +sub do_init { > + my $tempwork = tempdir ('/tmp/nmbug-init.XX', CLEANUP => 1); > + system ('git', 'init', '--separate-git-dir', $NMBGIT, $tempwork) == 0 > +or die "'git init' exited with nonzero value\n"; > + git ('config', '--unset', 'core.worktree'); > +

[PATCH 4/4] nmbug: Add an 'init' command

2014-07-15 Thread W. Trevor King
On Tue, Jul 15, 2014 at 08:54:28PM -0300, David Bremner wrote: > "W. Trevor King" writes: > > > +sub do_init { > > + my $tempwork = tempdir ('/tmp/nmbug-init.XX', CLEANUP => 1); > > + system ('git', 'init', '--separate-git-dir', $NMBGIT, $tempwork) == 0 > > +or die "'git init' exited

Re: [PATCH 4/4] nmbug: Add an 'init' command

2014-07-15 Thread David Bremner
W. Trevor King wk...@tremily.us writes: +sub do_init { + my $tempwork = tempdir ('/tmp/nmbug-init.XX', CLEANUP = 1); + system ('git', 'init', '--separate-git-dir', $NMBGIT, $tempwork) == 0 +or die 'git init' exited with nonzero value\n; + git ('config', '--unset',

Re: [PATCH 4/4] nmbug: Add an 'init' command

2014-07-15 Thread W. Trevor King
On Tue, Jul 15, 2014 at 08:54:28PM -0300, David Bremner wrote: W. Trevor King wk...@tremily.us writes: +sub do_init { + my $tempwork = tempdir ('/tmp/nmbug-init.XX', CLEANUP = 1); + system ('git', 'init', '--separate-git-dir', $NMBGIT, $tempwork) == 0 +or die 'git init' exited

[PATCH 4/4] nmbug: Add an 'init' command

2014-07-06 Thread W. Trevor King
For folks that want to start versioning a new tag-space, instead of cloning one that someone else has already started. The empty-blob hash-object call avoids errors like: $ nmbug commit error: invalid object 100644 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 for 'tags/...' fatal:

[PATCH 4/4] nmbug: Add an 'init' command

2014-07-06 Thread W. Trevor King
For folks that want to start versioning a new tag-space, instead of cloning one that someone else has already started. The empty-blob hash-object call avoids errors like: $ nmbug commit error: invalid object 100644 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 for 'tags/...' fatal: