Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No files after import #30

Closed
rhae opened this issue Aug 25, 2023 · 2 comments
Closed

No files after import #30

rhae opened this issue Aug 25, 2023 · 2 comments

Comments

@rhae
Copy link

rhae commented Aug 25, 2023

I am importing from a local directory. After import I do not see any files. How do I proceed?

Here is what I did:

$ crap-clone /mnt/d/cvs/cvs 2203601
..
...
2011-09-05 15:38:44 CEST COMMIT
2011-09-05 15:44:37 CEST COMMIT
2011-09-05 15:44:37 CEST TAG V702-01-003
Emitted 159 commits (= total 159).
Exact     2 +     2 =     4 branches + tags.
Fixup     0 +     3 =     3 branches + tags.
Download 418 cvs versions in 147 transactions.
String cache: 593 items, 448/1024 buckets used, mean search 1.32378
fast-import statistics:
---------------------------------------------------------------------
Alloc'd objects:       5000
Total objects:          803 (        74 duplicates                  )
      blobs  :          345 (        73 duplicates        202 deltas of        343 attempts)
      trees  :          307 (         1 duplicates        220 deltas of        299 attempts)
      commits:          151 (         0 duplicates          0 deltas of          0 attempts)
      tags   :            0 (         0 duplicates          0 deltas of          0 attempts)
Total branches:           7 (         5 loads     )
      marks:           1024 (       569 unique    )
      atoms:             79
Memory total:          2493 KiB
       pools:          2141 KiB
     objects:           351 KiB
---------------------------------------------------------------------
pack_report: getpagesize()            =       4096
pack_report: core.packedGitWindowSize = 1073741824
pack_report: core.packedGitLimit      = 35184372088832
pack_report: pack_used_ctr            =         30
pack_report: pack_mmap_calls          =          9
pack_report: pack_open_windows        =          1 /          1
pack_report: pack_mapped              =     612777 /     612777
---------------------------------------------------------------------

$ git gc --aggressive
Enumerating objects: 803, done.
Counting objects: 100% (803/803), done.
Delta compression using up to 12 threads
Compressing objects: 100% (792/792), done.
Writing objects: 100% (803/803), done.
Total 803 (delta 496), reused 259 (delta 0), pack-reused 0

$ ls | wc
      0       0       0

$ ls -la .git
total 60
drwxr-xr-x 9 me me 4096 Aug 25 15:06 .
drwxr-xr-x 3 me me 4096 Aug 25 15:04 ..
-rw-r--r-- 1 me me  176 Aug 25 15:06 COMMIT_EDITMSG
-rw-r--r-- 1 me me   21 Aug 25 15:04 HEAD
drwxr-xr-x 2 me me 4096 Aug 25 15:04 branches
-rw-r--r-- 1 me me   92 Aug 25 15:04 config
drwxr-xr-x 2 me me 4096 Aug 25 15:05 crap
-rw-r--r-- 1 me me   73 Aug 25 15:04 description
drwxr-xr-x 2 me me 4096 Aug 25 15:04 hooks
-rw-r--r-- 1 me me   65 Aug 25 15:05 index
drwxr-xr-x 2 me me 4096 Aug 25 15:05 info
drwxr-xr-x 3 me me 4096 Aug 25 15:05 logs
drwxr-xr-x 5 me me 4096 Aug 25 15:05 objects
-rw-r--r-- 1 me me  484 Aug 25 15:05 packed-refs
drwxr-xr-x 4 me me 4096 Aug 25 15:04 refs

@sylvandb
Copy link

sylvandb commented Nov 5, 2023

see what branches you have: git branch -a

Then choose a branch to checkout: git checkout {branch}

@rhae
Copy link
Author

rhae commented Jan 8, 2024

Thanks. That solved it.

@rhae rhae closed this as completed Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants