Re: git to p4 conversion

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

 



2011/2/4 Tor Arvid Lund <torarvid@xxxxxxxxx>:
> Well, I can get it to work if I do:
> $ git p4 sync
>
> before the 'git p4 submit'.
Same result. :(

My current workflow is:

$ rm -rf projdir
$ git-p4 clone //depot/projdir/...@all
$ cd projdir
$ git remote add gitremote endre@gitserver/gitrepo.git
$ git fetch -q gitremote
$ git checkout -b tempbranch gitremote/master
$ git rebase -q master
$ git-p4 sync
$ git-p4 submit

The result is still tons of file already exists in working directory messages.

> Try that, and see if it works for you. (BTW, when committing
> half-works, and then fails, oftentimes you need to do a bit of cleanup
> in perforce... Revert files, manually remove files created by git
> inside your p4 clientspec root directory, that sort of thing...)

I dropped the whole directory, and then recreated it, I do not know
any better 'cleanup'. :)

Rgds,

Endre
--
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]