git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git-p4: submit  to blank p4 repository help please
@ 2009-06-04  7:16 Reynolds, Stephen (GE EntSol, Intelligent Platforms)
  0 siblings, 0 replies; only message in thread
From: Reynolds, Stephen (GE EntSol, Intelligent Platforms) @ 2009-06-04  7:16 UTC (permalink / raw)
  To: git

Hi

There was some discussion of this under the topic "bug in git-p4?" but I
could see no resolution so I am putting the question out again.

Git-p4 does not seem to work (for me at least) when you try to submit a
git repository to a blank p4 repository. It seems that you have to have
pulled your git repository from p4 originally in order for it to work?

This is the kind of thing I have typically been trying  

git-p4 clone //depot/firmware/fred/bloggs.git

(//depot/firmware/fred/bloggs.git is a folder synced to an empty p4
repository)

cd bloggs

(there is now an empty git repository here)

If I then pull from a git repository into the newly created bloggs.git
and do git-p4 submit 

I get...

Syncronizing p4 checkout...
... - file(s) up-to-date.
Applying 0b666f81da14bf46cada222856762f7fd6641c26 Initial revision

fatal: ambiguous argument '0b666f81da14bf46cada222856762f7fd6641c26^':
unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Command failed: git diff-tree -r
"0b666f81da14bf46cada222856762f7fd6641c26^"
"0b666f81da14bf46cada222856762f7fd6641c26"


I have tried to checkout pre-existing files from P4, change them in git
and put them back and that works fine.

I am using the git 1.6.3.1.fc9 rpms with the git-p4 taken from the
git-1.6.3.1 source tree.


Thanks for your help

Steve

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-04  7:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-04  7:16 git-p4: submit to blank p4 repository help please Reynolds, Stephen (GE EntSol, Intelligent Platforms)

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).