branches names parsing

Roman Odyshew roman.odyshew at aiesec.net
Mon Jan 12 10:53:44 UTC 2015


Hello, my name is Roman.
I has one trouble, I need get list of all branches names by programm code.
So, I use command hg branches -c, and I get all branches, in format:
<branch name> <changeset> <branch status>
But branch name can has any characters and whitespaces, so how I can in
programm parse branch names from lists? Are there rules of format - hg
branches -c command?

Thanks, Roman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20150112/35f43da3/attachment.html>


More information about the Mercurial mailing list