Package: mercurial-git
Version: 0+hg20090603-2
Severity: important
Making it important since it seems to be effecting generic usability of gclone
for any repository with more than a single branch (and that is what git was
created for).
While "hg gclone"ing repositories, branching seems to be there (viewed in
hgview) but all of the commits listed as parts of "default" branch as well
as the leaves of the branches; which makes imho little sense:
Example:
$> git clone git://git.debian.org/pkg-exppsy/psychopy.git psychopy-git
Initialized empty Git repository in /tmp/psychopy-git/.git/
remote: Counting objects: 4405, done.
remote: Compressing objects: 100% (1211/1211), done.
remote: Total 4405 (delta 3255), reused 4250 (delta 3112)
Receiving objects: 100% (4405/4405), 4.95 MiB | 204 KiB/s, done.
Resolving deltas: 100% (3255/3255), done.
$> { cd psychopy-git; git branch -a; }
* master
remotes/origin/HEAD -> origin/master
remotes/origin/deb/installcfg
remotes/origin/debian
remotes/origin/debian-release
remotes/origin/master
remotes/origin/master-dfsg
remotes/origin/master-v2
remotes/origin/up/fixes
now lets gclone it:
$> cd ..
$> hg gclone psychopy-git psychopy-hggit
fetching from : origin
importing Hg objects into Git
Counting objects: 4240, done.
Compressing objects: 100% (1067/1067), done.
Total 4240 (delta 3108), reused 4208 (delta 3091)
importing Git objects into Hg
at: 0/610
at: 100/610
at: 200/610
at: 300/610
at: 400/610
at: 500/610
at: 600/610
16 files updated, 0 files merged, 0 files removed, 0 files unresolved
$> cd psychopy-hggit
(hg)novo:/tmp/psychopy-hggit[hg:default]
$> hg branch
default
$> hg branches -a
default 602:76cf54d254c5
I know that due to git architecture, some times it is impossible to track
some elderly commit in respect to which branch it belonged; but well -- there
should be a way to handle at least starting from the current heads of the
branches.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mercurial-git depends on:
ii mercurial 1.3.1-1 scalable distributed version contr
ii python 2.5.4-2 An interactive high-level object-o
ii python-support 1.0.3 automated rebuilding support for P
mercurial-git recommends no packages.
mercurial-git suggests no packages.
-- debconf-show failed
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]