planetfederal / qgis-geogig-plugin

A plugin to manage and use GeoGig repositories from QGIS
GNU General Public License v2.0
9 stars 8 forks source link

Pushing a new branch to the remote results in an invalid branch in QGIS #26

Open mtCarto opened 8 years ago

mtCarto commented 8 years ago

When pushing a local branch that doesn't exist in the remote repo, the resulting remote branch is invalid. The branch name is set as refs/heads/testbranch instead of testbranch. Attempting to view this branch returns an error "Object not found 'refs/heads/testbranch' ". The branch is inaccessible in QGIS.

Looking on the command line the branch name has been set to refs/heads/testbranch, which returns "source not found" if you attempt to check out with that name. However, the branch is valid and can be accessed using the name "testbranch", as originally set.