On Wed, 11 Oct 2006 03:22:23 -0700, Bill Page  
<[EMAIL PROTECTED]> wrote:

> I included both bundle and export files above because I can find any
> way of displaying the contents of a bundle file.

Thanks.

> But I can read the
> export files and presumably I can also import them into another
> copy of the repository if I want. Am I missing something about how
> to properly use the "bundle" patch method? What is the advantage
> of using bundle?

Bundles are guaranteed to work, since to create them hg contacts
the sage.math.washington.edu and puts enough information in the bundle
for anybody who has synced with the sage.math repository to completely
reconstruct the tree you're bundling.  In sharp contrast, an exported
patch only has what you asked it to include, which might be missing  
relevant
previous patches.   I still haven't completely understood patches though.
E.g., I need to figure out what happens if one applies the same patch
twice with import -- it better ignore it the second time.

For example, I can just "unbundle" your axiom-0.2.hg bundle.  However,
if I get the axiom-0.2.export patch, that's just the last part of
the axiom interface.  I have to be careful to also get the axiom-0.0
and axiom-0.1 export patches.

> Is there a trick to view their contents?

I don't know of one, beyond applying the bundle then browsing the resulting
repository (e.g., hg_sage.browse()), which will show the contents.  I think
one can't easily view the contents of bundles.   I strongly encourage  
somebody
to complain about this on a mercurial developers mailing list, since it is
a *major* problem, in my opinion.

William



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to