AdoptOpenJDK / openjdk-jdk8u

JDK8u mirror from mercurial
http://hg.openjdk.java.net/jdk8u/jdk8u/
GNU General Public License v2.0
373 stars 286 forks source link

hg tags are wrongly preserved #13

Closed judovana closed 3 years ago

judovana commented 3 years ago

When you checkout a tag, all - originally hg subrepos - disappear. See:

$  ll
total 388
-rwxr-xr-x  1 tester mock  19344 Oct 26 17:45 a.out
-rw-r--r--  1 tester mock   1522 Oct 26 17:34 ASSEMBLY_EXCEPTION
drwxr-xr-x  2 tester mock   4096 Oct 26 17:54 build
drwxr-xr-x  6 tester mock   4096 Oct 26 17:34 common
-rw-r--r--  1 tester mock   1588 Oct 26 17:34 configure
drwxr-xr-x  5 tester mock   4096 Oct 26 18:17 corba
-rw-r--r--  1 tester mock   3107 Oct 26 17:34 get_source.sh
drwxr-xr-x  7 tester mock   4096 Oct 26 18:17 hotspot
drwxr-xr-x  6 tester mock   4096 Oct 26 18:17 jaxp
drwxr-xr-x  6 tester mock   4096 Oct 26 18:17 jaxws
drwxr-xr-x  6 tester mock   4096 Oct 26 18:17 jdk
drwxr-xr-x  6 tester mock   4096 Oct 26 18:17 langtools
-rw-r--r--  1 tester mock  19274 Oct 26 17:34 LICENSE
drwxr-xr-x  6 tester mock   4096 Oct 26 18:17 make
-rw-r--r--  1 tester mock   6349 Oct 26 17:34 Makefile
drwxr-xr-x 12 tester mock   4096 Oct 26 18:17 nashorn
-rw-r--r--  1 tester mock   1549 Oct 26 17:34 README
-rw-r--r--  1 tester mock 129333 Oct 26 17:34 README-builds.html
drwxr-xr-x  3 tester mock   4096 Oct 26 17:34 test
-rw-r--r--  1 tester mock 154987 Oct 26 18:17 THIRD_PARTY_README
$  git  tag | grep u265-ga
jdk8u265-ga
$  git  log |  grep u265-ga
    Added tag jdk8u265-ga for changeset 124d863b2b5d
    Added tag jdk8u265-ga for changeset 9204e03217f7
    Added tag jdk8u265-ga for changeset 3bd5ac4488a3
    Added tag jdk8u265-ga for changeset e0342245812a
    Added tag jdk8u265-ga for changeset 94d6ff459027
    Added tag jdk8u265-ga for changeset 3147b24fc8b0
    Added tag jdk8u265-ga for changeset 985114dd4afc
    Added tag jdk8u265-ga for changeset 6cc620acc684
$  git checkout jdk8u265-ga
Note: switching to 'jdk8u265-ga'.
You are in 'detached HEAD' state. You can look around, make experimental
...
HEAD is now at f451a6c377 Added tag jdk8u265-b00 for changeset 94d3d8c74ed6
$  ll
total 360
-rwxr-xr-x 1 tester mock  19344 Oct 26 17:45 a.out
-rw-r--r-- 1 tester mock   1522 Oct 26 17:34 ASSEMBLY_EXCEPTION
drwxr-xr-x 2 tester mock   4096 Oct 26 17:54 build
drwxr-xr-x 6 tester mock   4096 Oct 26 17:34 common
-rw-r--r-- 1 tester mock   1588 Oct 26 17:34 configure
-rw-r--r-- 1 tester mock   3107 Oct 26 17:34 get_source.sh
-rw-r--r-- 1 tester mock  19274 Oct 26 17:34 LICENSE
drwxr-xr-x 6 tester mock   4096 Oct 26 18:19 make
-rw-r--r-- 1 tester mock   6349 Oct 26 17:34 Makefile
-rw-r--r-- 1 tester mock   1549 Oct 26 17:34 README
-rw-r--r-- 1 tester mock 129333 Oct 26 17:34 README-builds.html
drwxr-xr-x 3 tester mock   4096 Oct 26 17:34 test
-rw-r--r-- 1 tester mock 152996 Oct 26 18:19 THIRD_PARTY_README
$  git checkout master
Updating files: 100% (46399/46399), done.
Previous HEAD position was f451a6c377 Added tag jdk8u265-b00 for changeset 94d3d8c74ed6
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
$  ll
total 388
-rwxr-xr-x  1 tester mock  19344 Oct 26 17:45 a.out
-rw-r--r--  1 tester mock   1522 Oct 26 17:34 ASSEMBLY_EXCEPTION
drwxr-xr-x  2 tester mock   4096 Oct 26 17:54 build
drwxr-xr-x  6 tester mock   4096 Oct 26 17:34 common
-rw-r--r--  1 tester mock   1588 Oct 26 17:34 configure
drwxr-xr-x  5 tester mock   4096 Oct 26 18:23 corba
-rw-r--r--  1 tester mock   3107 Oct 26 17:34 get_source.sh
drwxr-xr-x  7 tester mock   4096 Oct 26 18:23 hotspot
drwxr-xr-x  6 tester mock   4096 Oct 26 18:23 jaxp
drwxr-xr-x  6 tester mock   4096 Oct 26 18:23 jaxws
drwxr-xr-x  6 tester mock   4096 Oct 26 18:23 jdk
drwxr-xr-x  6 tester mock   4096 Oct 26 18:23 langtools
-rw-r--r--  1 tester mock  19274 Oct 26 17:34 LICENSE
drwxr-xr-x  6 tester mock   4096 Oct 26 18:24 make
-rw-r--r--  1 tester mock   6349 Oct 26 17:34 Makefile
drwxr-xr-x 12 tester mock   4096 Oct 26 18:24 nashorn
-rw-r--r--  1 tester mock   1549 Oct 26 17:34 README
-rw-r--r--  1 tester mock 129333 Oct 26 17:34 README-builds.html
drwxr-xr-x  3 tester mock   4096 Oct 26 17:34 test
-rw-r--r--  1 tester mock 154987 Oct 26 18:23 THIRD_PARTY_README

Maybe I got something terribnly wrong from thsi repo, but already the git log | grep u265-ga looks bad, and I have no idea where the directories went

karianna commented 3 years ago

@gdams Is this still an issue? If so we should move this bug to the mirroring script repo.

karianna commented 3 years ago

@gdams - should I transfer this to Adoptium repo?

gdams commented 3 years ago

we have a workaround for now. Closing