Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237818 - dev-util/{mercurial-1.0.1-r3,git-1.6.0.1} - hg convert -> "git tool not found"
Summary: dev-util/{mercurial-1.0.1-r3,git-1.6.0.1} - hg convert -> "git tool not found"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 08:46 UTC by thierry volpiatto
Modified: 2009-01-08 22:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thierry volpiatto 2008-09-16 08:46:40 UTC
Hi, hg convert don't work with the very last revision of mercurial and git.
however it work fine with the last version of mercurial (1.O.1-r3) and the
non keyworded git version (1.5.6.4)
So i think the bug come from git.
Thank you.
Thierry.

Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 Genuine Intel(R) CPU T2130 @ 1.86GHz
Timestamp of tree: Tue, 16 Sep 2008 05:16:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ "
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="   "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa amr ao async bash-completion bbdb bcmath berkdb bluetooth bzip2 cdaudio cddb cdparanoia cdr cdrom cdsound cgi chroot clamav cli colordiff cpudetection cracklib crypt css cups dbus dell dhcp divx dri dvb dvd dvdr dvdread emacs enca encode esd exif fbcon ffmpeg fontconfig fortran gdbm gif gimp gnuplot gnus gnutls gpg gpm grub gtk hal hddtemp hpn http iconv imagemagick imlib ipv6 ipw3945 isdnlog jabber jack java javascript joystick jpeg lame laptop ldb leim logrotate lua lynxkeymap mad midi mikmod mime mjpeg mp3 mpd mpeg mplayer mudflap ncurses nethack network nls nptl nptlonly ogg ogg123 opengl openmp openssh openssl pam pcre pdf perl png pnm pop postproc ppds pppd preview-latex print procmail pymacs python qt3 readline realmedia reflection restrict-javascript session slang sound sox spell spl ssl subversion svg sysfs tcl tcpd tga tiff tk transcode truetype type1 unicode usb v4l v4l2 vcd vorbis wav webdav wifi wma x86 xanim xface xft xinerama xml xorg xpm xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-16 09:06:07 UTC
In what way doesn't it work? What command is giving you what error messages? What files get altered in the wrong way?
Comment 2 thierry volpiatto 2008-09-16 10:10:58 UTC
>In what way doesn't it work? What command is giving you what error messages?

The command is :

,----
| hg convert /project-git /project-hg
`----

(The default is converting to an hg repo.)

Error is (non textual): git tool not found
I can't reproduce right now, i am working on git and hg.

To reproduce just try to convert one of your git project to an hg project
with the last keyworded mercurial and git (hg:1.0.1-r3 ; git:1.6.0.1)

Then do the same with hg:1.0.1-r3 and git 1.5.64 ==> it's working fine.

>What files get altered in the wrong way?

No one, just don't start converting because git tool not found.

Comment 3 Ben de Groot (RETIRED) gentoo-dev 2008-09-19 02:07:08 UTC
This should be fixed by mercurial-1.0.2. Please test and report back!

From the mercurial 1.0.2 Changelog:
"Extensions: convert: 
    git: allow converter to work with recent git releases"
Comment 4 thierry volpiatto 2008-09-19 12:12:18 UTC
Hi,
Thank you, git-version-1.6.0.1 + mercurial-version-1.0.2
work fine with hg convert ==> git to hg.

Comment 5 Dirkjan Ochtman (RETIRED) gentoo-dev 2008-12-03 10:05:35 UTC
I think this can be resolved?
Comment 6 Krzysztof Pawlik (RETIRED) gentoo-dev 2009-01-08 22:19:37 UTC
(In reply to comment #5)
> I think this can be resolved?
> 

I agree.