In command line I can get all heads without closed branches via:

```
hg heads

```

Also I can get all heads with closed branches via:

```
hg heads --closed

```

But, how do I can know all closed branches via command line?