Mercurial > evolve
comparison hgext3rd/topic/common.py @ 6335:394c795d7ba4
tests: add "double//slash" example to topic.common.formatfqbn() docstring
This is just to make it dead easy to tell if debug output for that branch is
correct or not.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 20 Oct 2022 17:58:08 +0400 |
parents | a2855aff1268 |
children | 963471ebe26a |
comparison
equal
deleted
inserted
replaced
6334:ef8c1637321a | 6335:394c795d7ba4 |
---|---|
51 '//namespace/topic' | 51 '//namespace/topic' |
52 >>> formatfqbn(branch=b'branch') | 52 >>> formatfqbn(branch=b'branch') |
53 'branch' | 53 'branch' |
54 >>> formatfqbn(branch=b'branch//') | 54 >>> formatfqbn(branch=b'branch//') |
55 'branch////' | 55 'branch////' |
56 >>> formatfqbn(branch=b'double//slash') | |
57 'double//slash//' | |
56 >>> formatfqbn(namespace=b'namespace') | 58 >>> formatfqbn(namespace=b'namespace') |
57 '//namespace/' | 59 '//namespace/' |
58 >>> formatfqbn(branch=b'/topic') | 60 >>> formatfqbn(branch=b'/topic') |
59 '/topic' | 61 '/topic' |
60 >>> formatfqbn(topic=b'topic') | 62 >>> formatfqbn(topic=b'topic') |