-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/17/2010 07:31 PM, Richard Hipp wrote:
>
>> Unfortunately, this seems to be a fault in Git not Fossil. The 0.9.0rc2 tag
>> is not appearing in the fast-export output, which you can see for yourself
>> using:
>
>> git fast-export --all | grep 0.9.0rc2
>
no...@nolan-desktop:~/Projects/Spiel$ git fast-export --all | grep 0.9.0rc2
reset refs/tags/0.9.0rc2
>
>> Is there perhaps some option to git-fast-export that we should be using in
>> order to get better tag information?
>
I couldn't tell you, sorry. Wish I could be of more help. I'm running
away from Git lots precisely because of this complexity.
>> If you run the output of git-fast-export back into git-fast-import, does the
>> new Git repository have the 0.9.0rc2 tag?
>
Yes. See this transcript (apologies for it being munged a bit by
something in my shell):
no...@nolan-desktop:
~/Projects/spielno...@nolan-desktop:~/Projects/Spiel$ git --version
git version 1.7.0.4
]0;no...@nolan-desktop:
~/Projects/spielno...@nolan-desktop:~/Projects/Spiel$ git tag
0.7.0
0.8.0
0.9.0rc1
0.9.0rc2
]0;no...@nolan-desktop:
~/Projects/spielno...@nolan-desktop:~/Projects/Spiel$ git fast-export
- --all >spiel.export
]0;no...@nolan-desktop:
~/Projects/spielno...@nolan-desktop:~/Projects/Spiel$ cd ..
]0;no...@nolan-desktop: ~/projectsno...@nolan-desktop:~/Projects$
mkdir spiel.test
]0;no...@nolan-desktop: ~/projectsno...@nolan-desktop:~/Projects$ cd
spiel.test
]0;no...@nolan-desktop:
~/Projects/spiel.testno...@nolan-desktop:~/Projects/spiel.test$ git init
Initialized empty Git repository in /home/nolan/Projects/spiel.test/.git/
]0;no...@nolan-desktop:
~/Projects/spiel.testno...@nolan-desktop:~/Projects/spiel.test$ mv
../Spiel/spiel.export .
]0;no...@nolan-desktop:
~/Projects/spiel.testno...@nolan-desktop:~/Projects/spiel.test$ git
fast-import <spiel.export
git-fast-import statistics:
- ---------------------------------------------------------------------
Alloc'd objects: 5000
Total objects: 3108 ( 135 duplicates )
blobs : 599 ( 0 duplicates 305 deltas)
trees : 2176 ( 135 duplicates 1121 deltas)
commits: 332 ( 0 duplicates 0 deltas)
tags : 1 ( 0 duplicates 0 deltas)
Total branches: 15 ( 10 loads )
marks: 1024 ( 931 unique )
atoms: 84
Memory total: 2344 KiB
pools: 2110 KiB
objects: 234 KiB
- ---------------------------------------------------------------------
pack_report: getpagesize() = 4096
pack_report: core.packedGitWindowSize = 1073741824
pack_report: core.packedGitLimit = 8589934592
pack_report: pack_used_ctr = 6034
pack_report: pack_mmap_calls = 334
pack_report: pack_open_windows = 1 / 1
pack_report: pack_mapped = 2128491 / 2128491
- ---------------------------------------------------------------------
]0;no...@nolan-desktop:
~/Projects/spiel.testno...@nolan-desktop:~/Projects/spiel.test$ git tag
0.7.0
0.8.0
0.9.0rc1
0.9.0rc2
>
>> Is 0.7.0 suppose to be a one-time tag? Well, "git fast-export" reports that
>> tag on the first 41 commits of your repository. So even if it is suppose
>> to be a tag on a single commit, it sure is acting like a branch.
>
How odd. The repository should have been around for quite a while before
I would have created a 0.7.0 tag, and it definitely shouldn't be on the
first commits. Are we using different Git versions perhaps, because it
seems like my fast-export has more or different information than does yours.
Thanks.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkzkhu4ACgkQIaMjFWMehWKAaQCfSCJD5CsCIEDo2BDRLC1mqBjU
DWQAn31Q1eufAwWGvoYiauCxoQ0iEkgV
=MByE
-----END PGP SIGNATURE-----
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users