[sr-dev] why git push fails

Andrei Pelinescu-Onciul andrei at iptel.org
Wed Jun 9 18:15:29 CEST 2010


On Jun 09, 2010 at 12:01, Jan Janak <jan at iptel.org> wrote:
> Sorry guys, I might have incidentally changed something in the
> sip-router repository yesterday when I was configuring a new
> repository for sems. Let me check--if it stil does not work we could
> re-create the state of the repository as it was yesterday from a
> backup.

So far the only problem was the missing info/allowed-users.
I md5'ed all the other hooks and they are the original version.

The repository data looks ok so far. I don't think Juha's pull conflict
is related to it.


Andrei

> 
> On Wed, Jun 9, 2010 at 11:12 AM, Andrei Pelinescu-Onciul
> <andrei at iptel.org> wrote:
> > On Jun 09, 2010 at 15:26, Juha Heinanen <jh at tutpro.com> wrote:
> >> Andrei Pelinescu-Onciul writes:
> >>
> >> > I've restored it and it should work now.
> >>
> >> andrei,
> >>
> >> yes, thanks, now push to master worked, but when i switched to k branch
> >> and did pull, i got new errors:
> >>
> >> $ eg switch kamailio_3.0
> >> Switched to branch 'kamailio_3.0'
> >> Your branch and 'origin/kamailio_3.0' have diverged,
> >> and have 1 and 3 different commit(s) each, respectively.
> >> $ eg pull
> >> jh at git.sip-router.org's password:
> >> Removing pkg/kamailio/debian-etch/patches/00list
> >> Removing pkg/kamailio/debian-etch/patches/10_no_lib64_on_64_bits.dpatch
> >> Removing pkg/kamailio/debian-etch/patches/11_always_smp.dpatch
> >> CONFLICT (directory/file): There is a directory with name pkg/kamailio/debian-lenny in HEAD. Adding pkg/kamailio/debian-lenny as pkg/kamailio/debian-lenny~3224810f6fc75b0f7a498e8bfe3947c0e05bc98f
> >> Removing pkg/kamailio/debian-lenny/changelog
> >> Removing pkg/kamailio/debian-lenny/rules
> >> Automatic merge failed; fix conflicts and then commit the result.
> >
> > I don't know what eg does, but (after making a quick backup of the
> > tree), try the following:
> >
> > # revert to the state before the pull/merge
> > # (warning: any not comited changes ??will be permanently lost, that's
> > # the main reason for the backup)
> > git reset --hard ORIG_HEAD
> > # if everything is ok (your commit should be ontop)
> > # rebase on top of the repository version of kamailio_3.0
> > git rebase origin/kamailio_3.0
> > # push your changes back
> > git push origin kamailio_3.0:kamilio_3.0
> >
> > If you still got errors, try again git reset --hard ORIG_HEAD,
> > ??delete pkg/kamailio/debian-lenny and then continue with the rebase.
> >
> > If it still doesn't work, reset --hard ORIG_HEAD again, and send me the
> > output of:
> > git log ^HEAD origin/kamailio_3.0
> > git log HEAD ^origin/kamailio_3.0
> > git diff
> > git diff --cached
> > git status
> >
> >
> > Andrei
> >
> >
> 
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev



More information about the sr-dev mailing list