bug in git-p4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I've been trying to use git-p4 without much success.  My setup is very simple:

- 1 existing Git repo (with data)
- 1 existing P4 depot (with an empty subdirectory)
- We commit and push to Git and our company requires all the code to be stored in P4 (in the p4 empty subdir).

Here's what I did:

cd /root/p4-repo/SecTech
git clone /home/git/repositories/web website
cd website
git-p4 sync //SecTech/website
git branch --track p4-master p4/master
git checkout p4-master
git merge master
git-p4 submit

CRASHES WITH:
Perforce checkout for depot path //SecTech/website/ located at /root/p4-repo/SecTech/website/
Syncronizing p4 checkout...
... - file(s) up-to-date.
Applying 32a1b2fe93f48c044d04ca37a276fe66afc988ce initial import

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



Am I doing something wrong or is there a bug in git-p4?

I'm a bit confused right now.  Thanks!

Carl


 Protected by Websense Hosted Email Security -- www.websense.com 
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]