Commandline copy "Apple" branch to Destination

36 views
Skip to first unread message

Staze

unread,
Aug 6, 2019, 6:15:23 PM8/6/19
to reposado
Hi All,

Hopefully simple question. After a week or so, I usually just copy the Apple branch to my Employee and Lab branch. I do this through Margarita, and it works great, but I'd love to commandline this. Doing `./repoutil --copy-branch Apple Employee` results in "Branch Apple does not exist!". 

And I don't see it listed when I just do `./repoutil --branches`. So, how...?

Thanks! 

-Ryan Stasel

Greg Neagle

unread,
Aug 6, 2019, 6:25:41 PM8/6/19
to repo...@googlegroups.com
From reposado's POV, the Apple catalogs are not a branch -- they are the trunk.

You could do what you want like so:

repoutil --new-branch Apple
repoutil --add-products non-deprecated Apple
repoutil --copy-branch Apple Employee
repoutil --copy-branch Apple Lab
repoutil --delete-branch Apple

or possibly:

repoutil --add-product non-deprecated Employee
repoutil --remove-product deprecated Employee
repoutil --add-product non-deprecated Lab
repoutil --remove-product deprecated Lab

I've not tested either of these; you might want to create new branches for testing to observe the actual behavior before proceeding.

-Greg


--
You received this message because you are subscribed to the Google Groups "reposado" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reposado+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reposado/d5ff0976-08cd-4482-bad8-7f5108e77396%40googlegroups.com.

Ryan Stasel

unread,
Aug 6, 2019, 6:45:47 PM8/6/19
to 'Gregory Neagle' via reposado
That makes perfect sense!

Wonder if that’s what Margarita is doing in the background?

-Ryan Stasel
> To view this discussion on the web visit https://groups.google.com/d/msgid/reposado/CAPedQ8nfOx0Q-oMQTnTdB21ncYwyU3XjhC1%3DUKr_Apq7xx-4fg%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages