Re: [Monotone-devel] pcrewrap.cc vs pcre_config.h

2007-11-07 Thread Stephen Leake
Stephen Leake [EMAIL PROTECTED] writes:

 We have two conflicting needs in pcrewrap.cc.

 snip

 We need a way for pcrewrap.cc to set PCRE_STATIC, based on the choice
 made by configure.

 Monotone has its own 'config.h'; we could add PCRE_STATIC there. A
 one-line change in m4/pcre.m4 does that (autoconf is quite convenient,
 once you stop being scared of it :):

 snip

 This works for MinGW with the bundled pcre (it links, and the only
 test failures are not pcre related). Could someone test with a system
 pcre? Remember to do 'autoreconf -i' to effect this change. If it
 still works, please commit this change.

No one has responded, so I'll just commit this change.

-- 
-- Stephe


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


Re: [Monotone-devel] cvs_import

2007-11-07 Thread Markus Schiltknecht

Hello Ralf,

Ralf S. Engelschall wrote:

BTW, if you need a clean medium-sized CVS repository for testing which
is both very strict in its branch naming and layout and also contains a
reasonable amount of branches and sub-branches, revisions spreaded over
6 years and about 35000 commits, feel free to test with the OpenPKG CVS
(rsync -rav rsync://rsync.openpkg.org/openpkg-cvs/ /tmp/openpkg-cvs/).


Thanks for the hint. I've downloaded and tested it. Unfortunately, it 
still fails on an invariant... :-(  Known issue, I think there even is a 
a test case for it.


For everybody interested in the inner workings of that beast, I've 
updated the wiki: http://www.venge.net/mtn-wiki/CvsImport.


There are still some issues, i.e.:

 * non-UTF-8 filenames (i.e. as in the NetBSD repository). The 
tree_walker fails on those.


 * blobs (revisions) which have dependencies into two branches. In 
monotone that's theoretically possible, but not in CVS. (i.e. Postgres repo)


 * deleted files might erronously appear in tagged revisions.

I'm working on those...

Please let me know if you have an urgent desire for importing a specific 
CVS repository or if you'd like to test importing one yourself.


Regards

Markus



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


RE: [Monotone-devel] mtn automate way to get file list withoutworkspace?

2007-11-07 Thread Kelly F. Hickel
 On Tue, Nov 06, 2007 at 08:20:09PM -0600, Kelly F. Hickel wrote:
  So, I've started whacking together a mtn/viewvc mashup, but didn't
 get
  too far before I realized that a number of the mtn commands I need
 seem
  to need a workspace to function.
 
  Am I going to have to cobble up a shadow workspace directory just to
 do
  this, or is there a semi-reasonable way to get file lists and so
 forth
  without one?
 
 Very few automate commands involve a workspace... what do you mean by
 file list?  Getting a list of unknown or ignored files requires a
 workspace, obviously; for getting a list of files in a revision, see
 automate get_manifest_of.
 

Ahh, the error below is what confused me, I thought it meant that I
needed a workspace, but I just needed to provide a branch

[EMAIL PROTECTED] mtn_convert]$ mtn -d eadev.mtn automate get_manifest_of
mtn: misuse: workspace required but not found

Thanks,
-Kelly


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


Re: [Monotone-devel] pcrewrap.cc vs pcre_config.h

2007-11-07 Thread Florian Weimer
* Stephen Leake:

 On the other hand, when using a pre-installed pcre library, apparently
 pcre_config.h is _not_ available.

No, this is intentional.  A library config.h files cannot be included
elsewhere because they conflict with the application config.h files.


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


Re: [Monotone-devel] cvs_import

2007-11-07 Thread Richard Levitte
In message [EMAIL PROTECTED] on Wed, 07 Nov 2007 16:53:52 +0100, Markus 
Schiltknecht [EMAIL PROTECTED] said:

markus Please let me know if you have an urgent desire for importing
markus a specific CVS repository or if you'd like to test importing
markus one yourself.

I do...  the OpenSSL one.

Cheers,
Richard

-- 
Richard Levitte [EMAIL PROTECTED]
http://richard.levitte.org/

When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up.
-- C.S. Lewis


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


Re: [Monotone-devel] mtn automate way to get file list withoutworkspace?

2007-11-07 Thread Nathaniel Smith
On Wed, Nov 07, 2007 at 08:02:38AM -0600, Kelly F. Hickel wrote:
 Ahh, the error below is what confused me, I thought it meant that I
 needed a workspace, but I just needed to provide a branch
 
 [EMAIL PROTECTED] mtn_convert]$ mtn -d eadev.mtn automate get_manifest_of
 mtn: misuse: workspace required but not found

Ah, right, 'get_manifest_of' with no argument is assumed to be asking
for the manifest of the current workspace.  (What revision were you
expecting to get the file list of without giving any argument?)

The normal use would be to give a revision.  (Not a branch, though the
revision could be the head of a branch.  Which you can write like
h:branchname, except most automate commands don't take selectors, if
you want selector expansion you can request it with 'mtn automate
select' and then pass the output to get_manifest_of.)

-- Nathaniel

-- 
Eternity is very long, especially towards the end.
  -- Woody Allen


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