Re: [git-p4] Trouble importing all perforce branches into git repository
- From
- Pete Wyckoff <pw@padd.com>
- Date
- May 22, 2011, 11:49 UTC
- Message-ID
- <20110522114917.GA19927@arf.padd.com>
- In-Reply-To
- <5A927B4F-7242-48AD-BC1C-BCA490A251C4@gmail.com>
glimberg@gmail.com wrote on Thu, 19 May 2011 19:32 +0000:
> [git-p4 automatic branch detection] > > git p4 clone --verbose --detect-branches --max-changes=100 //project/...@all
I worry that --max-changes prevents it from pulling in the ref for Branch-foo, and this confuses the automatic branch detection that assumes it has all its parents.
It would certainly be more reliable if you did "git-p4 sync --branch foo //project/foo@all" for each branch you care about.
Vitor has some modifications to auto-branch detection that might be useful, or maybe some thoughts as to what's going on.
-- Pete
(Vitor: full mail is here: http://article.gmane.org/gmane.comp.version-control.git/173996/ )