# Repository checkout problem

**URL:** https://www.finalbuilder.com/forums/t/repository-checkout-problem/7508
**Category:** Bugs
**Tags:** fixed
**Created:** [July 10, 2024, 10:27am UTC](https://www.finalbuilder.com/forums/t/repository-checkout-problem/7508 "2024-07-10T10:27:15Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![k3tchup](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/k3tchup/32/2162_2.png) [@k3tchup](https://www.finalbuilder.com/forums/u/k3tchup)
#### Post date: [July 10, 2024, 10:27am UTC](https://www.finalbuilder.com/forums/t/repository-checkout-problem/7508/1 "2024-07-10T10:27:15Z")

</div>

I have added a new repository and it seems all is well:

 ![obraz](https://www.finalbuilder.com/forums/uploads/default/original/2X/7/7d23321379f55787b6e4122caabfb34526775b88.png)  
But when I attach it to configuration and want to execute i get:  
 ![obraz](https://www.finalbuilder.com/forums/uploads/default/original/2X/0/0e424e352a86a3f5334ba79997120c20159dfbe2.png)  
There are no branches nor changesets.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [July 10, 2024, 11:43am UTC](https://www.finalbuilder.com/forums/t/repository-checkout-problem/7508/2 "2024-07-10T11:43:09Z")

</div>

Hi Michal,

Check the Changes tab in the configuration view - are there any changesets listed for that repository? Also check the Event Log in the Administration section - are there any relevant errors listed. Try resetting the repository, in the repositories pages in the Administration section. If that doesn’t fix the issue, send us details your repository settings particularly the branch settings and we’ll investigate further.

---

<div class="post-metadata">

### Author: ![k3tchup](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/k3tchup/32/2162_2.png) [@k3tchup](https://www.finalbuilder.com/forums/u/k3tchup)
#### Post date: [July 10, 2024, 12:02pm UTC](https://www.finalbuilder.com/forums/t/repository-checkout-problem/7508/3 "2024-07-10T12:02:25Z")

</div>

No changes visible in that tab.  
It’s a fresh repository with only one commit, the default branch is _master_,  
I think for the first time I left the default _main_, then changed it to _master_.  
There was one error, but it did not repeat:

```auto
A new event has been added to the event log:
Git Log

An error occurred while retrieving details of changeset for branch head with name 'master
' for repository 'ssh://nrhidevops.nrhi.ch:22/TrapezeDACH/VEH_App/_git/PROD_GUI_Translations': Running 'C:\Program Files\Git\cmd\git.exe' with arguments "log --source --name-status --parents --date=iso -m --format="<[ɕ---COMMIT-START---ɔ]>%n%H%n%P%n%cn%n%an%n%ci%n%B%n<[ʩ---MSG-END---ɱ]>" -n 1 master
--" failed with return code 128 and error output: "fatal: bad revision 'master
'
". Ignoring branch!

```

Resetting the repository does not help.  
I even tried to remove it and add it again, still no success.

Repository configuration is default, expect default branch → _master_  
And polling set to 30 minutes. Connection is via ssh.

---

<div class="post-metadata">

### Author: ![k3tchup](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/k3tchup/32/2162_2.png) [@k3tchup](https://www.finalbuilder.com/forums/u/k3tchup)
#### Post date: [July 10, 2024, 12:31pm UTC](https://www.finalbuilder.com/forums/t/repository-checkout-problem/7508/4 "2024-07-10T12:31:16Z")

</div>

Update.  
I created a dummy commit, just to check how it will behave and… now it works 😃  
So it seems Continua can’t handle repository with only one commit.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [July 10, 2024, 1:01pm UTC](https://www.finalbuilder.com/forums/t/repository-checkout-problem/7508/5 "2024-07-10T13:01:35Z")

</div>

Hi Michal,

Thank you for reporting this issue. We can reproduce and identify the cause. We will implement a fix for the next release.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [July 18, 2024, 7:50am UTC](https://www.finalbuilder.com/forums/t/repository-checkout-problem/7508/6 "2024-07-18T07:50:38Z")

</div>

Hi Michal,

[v1.9.2.1373](https://www.finalbuilder.com/forums/t/continua-ci-v1-9-2-1373-released/7513) includes a fix for this issue.
