git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cannot push anything via export transport helper after push fails.
@ 2013-05-11 12:29 Andrey Borzenkov
  2013-05-11 12:36 ` John Keeping
  2013-05-11 13:57 ` Felipe Contreras
  0 siblings, 2 replies; 9+ messages in thread
From: Andrey Borzenkov @ 2013-05-11 12:29 UTC (permalink / raw)
  To: git

I noticed that using git-remote-bzr, but as far as I can tell this is
generic for all transport helpers using fast-export.



What happened was "git push" failed due to merge conflict. So far so
good - but from now on git assumes everything is up to date.

bor@opensuse:/tmp/test/git> git push origin master
To bzr::bzr+ssh://bor@localhost/tmp/test/bzr
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'bzr::bzr+ssh://bor@localhost/tmp/test/bzr'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
bor@opensuse:/tmp/test/git> git push origin master
Everything up-to-date
bor@opensuse:/tmp/test/git> 

The problem seems to be that git fast-export updates marks
unconditionally, whether export actually applied or not. So next time
it assumes everything is already exported and does nothing.

Is it expected behavior?

TIA

-andrey

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-04-12 21:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-11 12:29 Cannot push anything via export transport helper after push fails Andrey Borzenkov
2013-05-11 12:36 ` John Keeping
2013-05-11 13:44   ` Andrey Borzenkov
2013-05-11 13:57 ` Felipe Contreras
2013-05-11 18:48   ` Andrey Borzenkov
2013-05-11 21:17     ` Felipe Contreras
2013-05-16 17:38   ` Andrey Borzenkov
2014-04-12 21:24     ` Felipe Contreras
2014-04-12 21:22   ` Felipe Contreras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).