[darcs-users] Replaying patches from a darcs repository
James D Sadler
james at jamesdsadler.com
Sun Dec 2 02:20:43 UTC 2007
It seems that the changeset XML that is generated by the darcs wrapper
causes a SAXParseException:
13:18:51 [I] Bootstrapping "main" in "/tmp/tmp.IxOAV19281"
13:18:51 [I] /tmp/tmp.IxOAV19281/git $
/home/james/tailor/tailor-wrap/git init-db
13:18:51 [I] [Ok]
[: 9: ==: unexpected operator
Initialized empty Git repository in /tmp/tmp.TKjYr19282/
13:18:51 [I] $ /home/james/tailor/tailor-wrap/darcs changes
--xml-output --repo /home/james/tailor/tailor-wrap/repos/main
--reverse
13:18:51 [I] [Ok]
13:18:51 [C] Checkout of main failed!
Traceback (most recent call last):
File "/home/james/tailor/tailor-wrap/tailor/tailor", line 35, in <module>
main()
File "/home/james/tailor/tailor-wrap/tailor/vcpx/tailor.py", line 342, in main
tailorizer()
File "/home/james/tailor/tailor-wrap/tailor/vcpx/tailor.py", line
145, in __call__
self.bootstrap()
File "/home/james/tailor/tailor-wrap/tailor/vcpx/tailor.py", line
74, in bootstrap
actual = dwd.checkoutUpstreamRevision(revision)
File "/home/james/tailor/tailor-wrap/tailor/vcpx/source.py", line
253, in checkoutUpstreamRevision
last = self._checkoutUpstreamRevision(revision)
File "/home/james/tailor/tailor-wrap/tailor/vcpx/repository/darcs/source.py",
line 408, in _checkoutUpstreamRevision
changeset = csets.next()
File "/home/james/tailor/tailor-wrap/tailor/vcpx/repository/darcs/source.py",
line 142, in changesets_from_darcschanges
for cs in csets:
File "/home/james/tailor/tailor-wrap/tailor/vcpx/repository/darcs/source.py",
line 263, in changesets_from_darcschanges_unsafe
parser.feed(chunk)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/expatreader.py",
line 220, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python2.5/site-packages/_xmlplus/sax/handler.py",
line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: <unknown>:1:0: syntax error
pendings changesets != 0 (), convert failed
On 02/12/2007, Miklos Vajna <vmiklos at frugalware.org> wrote:
> On Sun, Dec 02, 2007 at 11:11:45AM +1100, James D Sadler <james at jamesdsadler.com> wrote:
> > Any chance you could post some instructions on how to get the
> > tailor-wrap script working?
> > I had a play with it about a week ago, and it balked (I was most
> > likely doing something wrong).
> >
> > That would be most appreciated.
>
> darcs get http://ftp.frugalware.org/pub/other/people/vmiklos/tailor-hackfest/tailor-wrap/
>
> cd tailor-wrap
>
> darcs get http://ftp.frugalware.org/pub/other/people/vmiklos/tailor-hackfest/tailor/
>
> and read the INSTALL file :)
>
> if something is not clear, feel free to ask.
>
> - VMiklos
>
> _______________________________________________
> darcs-users mailing list
> darcs-users at darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-users
>
>
>
--
James Sadler
james at jamesdsadler.com | james.sadler at mootermedia.com
More information about the darcs-users
mailing list