Query: How to perform a shallow p4 convert

dhruva dhruva at ymail.com
Mon Jul 20 08:30:37 CDT 2009


Hello,

 I need to perform a shallow convert of a p4 repository with a large history. I do the following...

1. Create a p4 client
2. p4 sync -f @root_changeset
3. hg init
4. hg addremove .
5. hg ci -m"Initial import from p4: root_changeset
6. hg convert with startrev 1 greater than the 'root_changeset'

The above results in 2 heads. The revision 0 (which I got by addremove) and 1 have -1 as parent. Is there any known way to accomplish this?

regards,
dhruva


      See the Web's breaking stories, chosen by people like you. Check out Yahoo! Buzz. http://in.buzz.yahoo.com/



More information about the Mercurial mailing list