Hi Everybody,<br>
<br>
I am a newbie to Mercurial . So bear with me if it's too small but I
couldn't get any info on mailing list archive. Please let me know if I
am posting this query to a wrong forum.<br>
<br>
I know that Mercurial doesn't allow partial pulls. But I have a
situation where I want to pull only a particular jar file (not a simple
text file). I tried using import/export for a text file and it works.
But when I try to use it for jar file , it fails with error : nothing
found other than garbage in the patch file.<br>
<br>
So next option was using bundle/unbundle. I am using the following command: <br>
hg bundle -r <changeset number> ./bundle.hg (where changeset number is my latest changeset number)<br>
<br>
And it fails with the error:<br>
<pre>Traceback (most recent call last):<br> File "<MYPATH>/mercurial_trial/tools/mercurial/0.9.3/bin/hg", line 12, in ?<br> commands.run()<br> File "<MYPATH>/mercurial_trial/tools/mercurial/latest/lib/python2.4/site-packages/mercurial/commands.py", line 3000, in run
<br> sys.exit(dispatch(sys.argv[1:]))<br> File "<MYPATH>/mercurial_trial/tools/mercurial/latest/lib/python2.4/site-packages/mercurial/commands.py", line 3223, in dispatch<br> return d()<br> File "<MYPATH>/mercurial_trial/tools/mercurial/latest/lib/python2.4/site-packages/mercurial/commands.py", line 3182, in <lambda>
<br> d = lambda: func(u, repo, *args, **cmdoptions)<br> File "<MYPATH>/mercurial_trial/tools/mercurial/latest/lib/python2.4/site-packages/mercurial/commands.py", line 339, in bundle<br> changegroup.writebundle
(cg, fname, "HG10BZ")<br> File "<MYPATH>/mercurial_trial/tools/mercurial/latest/lib/python2.4/site-packages/mercurial/changegroup.py", line 93, in writebundle<br> fh.write(z.flush())<br>RuntimeError: wrong sequence of bz2 library commands used
<br>Segmentation Fault(core dumped)<br><br>I tried using bundle with a jar file as well as with a simple text file but I am getting into same issue?<br><br>Could someone help me?<br><br>Thanks<br>Muns<br></pre>