From: Aleksey Avdeev <solo@solin.spb.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] Q: tailor -- что-то не то с загрузкой из Mercurial (hg) репозитариев. Date: Fri, 02 May 2008 02:19:24 +0400 Message-ID: <481A41EC.2000001@solin.spb.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 2398 bytes --] Приветствую. Что-то не получается у меня преобразовать Mercurial`овский репозитарий в git, используя tailor... Симптомы следующие: $ tailor --verbose -s hg -t git --repository http://xenbits.xensource.com/xen-2.0-testing.hg >xen.tailor You should put the following configuration in some file, adjust it as needed and use --configfile option with that file as argument: $ tailor --configfile xen.tailor 22:57:12 [I] Bootstrapping "project" in "/home/solo/tailor/xen" 22:57:12 [I] /home/solo/tailor/xen $ git init-db 22:57:12 [I] [Ok] 22:57:12 [C] Checkout of project failed! Traceback (most recent call last): File "/usr/bin/tailor", line 35, in ? main() File "/usr/lib/python2.4/site-packages/vcpx/tailor.py", line 338, in main tailorizer() File "/usr/lib/python2.4/site-packages/vcpx/tailor.py", line 143, in __call__ self.bootstrap() File "/usr/lib/python2.4/site-packages/vcpx/tailor.py", line 73, in bootstrap actual = dwd.checkoutUpstreamRevision(revision) File "/usr/lib/python2.4/site-packages/vcpx/source.py", line 252, in checkoutUpstreamRevision last = self._checkoutUpstreamRevision(revision) File "/usr/lib/python2.4/site-packages/vcpx/repository/hg.py", line 70, in _checkoutUpstreamRevision opts = self._defaultOpts('clone') File "/usr/lib/python2.4/site-packages/vcpx/repository/hg.py", line 316, in _defaultOpts findcmd = commands.find AttributeError: 'module' object has no attribute 'find' Смотрю код hg.py: def _defaultOpts(self, cmd): # Not sure this is public. commands.parse might be, but this # is easier, and while dispatch is easiest, you lose ui. if hasattr(commands, 'findcmd'): if commands.findcmd.func_code.co_argcount == 1: findcmd = commands.findcmd else: def findcmd(cmd): return commands.findcmd(self._getUI(), cmd) else: findcmd = commands.find return dict([(f[1].replace('-', '_'), f[2]) for f in findcmd(cmd)[1][1]]) Обращаю внимание на commands.find (316 строка) и commands.findcmd (выше). После grep`а по /usr/lib64/python2.4/site-packages/mercurial вижу что по крайней мере findcmd присутствует у cmdutil, но никак не у commands... Это нормально? (Или я что-то не так понял?) -- С уважением. Алексей. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 544 bytes --]
next reply other threads:[~2008-05-01 22:19 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-05-01 22:19 Aleksey Avdeev [this message] 2008-05-01 22:38 ` Alexander Myltsev 2008-05-01 22:46 ` Aleksey Avdeev 2008-05-01 22:50 ` Grigory Batalov 2008-05-02 0:02 ` Alexey Morozov 2008-05-02 12:20 ` Aleksey Avdeev 2008-05-02 22:02 ` Aleksey Avdeev 2008-05-03 9:06 ` [devel] A: tailor обновил, прошу NMU (was: Q: tailor -- что-то не то с загрузкой из Mercurial (hg) репозитариев.) Aleksey Avdeev 2008-05-05 3:10 ` [devel] Q: tailor -- что-то не то с загрузкой из Mercurial (hg) репозитариев Alexey Tourbin 2008-05-05 7:02 ` Aleksey Avdeev 2008-05-05 8:30 ` Alexey I. Froloff 2008-05-05 8:41 ` Aleksey Avdeev 2008-05-05 12:21 ` [devel] Q: fast-export, вопросы по упаковке (was: Q: tailor -- что-то не то с загрузкой из Mercurial (hg) репозитариев.) Aleksey Avdeev 2008-05-30 22:00 ` [devel] I: hg-fast-export для загрузки xen (was: tailor -- что-то не то с загрузкой из Mercurial (hg) репозитариев) Aleksey Avdeev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=481A41EC.2000001@solin.spb.ru \ --to=solo@solin.spb.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git