comparison tests/test-namespaces.t @ 6749:107c5af631a7 stable

topic: make debug-default-topic-namespace --clear slightly smarter Now we don't have to run evolve too much after using this flag. Logic taken directly from the `hg topic` command when it changes topic of multiple changesets.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 29 Mar 2024 15:02:02 -0300
parents cd22d260d8cc
children bdf99d434b06 6adcc5c7c1f1
comparison
equal deleted inserted replaced
6743:ab60707314e9 6749:107c5af631a7
322 > -T '{rev}:{node|short} {join(extras, " ")}\n' 322 > -T '{rev}:{node|short} {join(extras, " ")}\n'
323 4:29a2d0acd473 branch=stable topic-namespace=none 323 4:29a2d0acd473 branch=stable topic-namespace=none
324 5:16d6061fce0c branch=stable topic-namespace=default 324 5:16d6061fce0c branch=stable topic-namespace=default
325 325
326 $ hg debug-default-topic-namespace --none --default --clear 326 $ hg debug-default-topic-namespace --none --default --clear
327 1 new orphan changesets
328 327
329 $ hg debug-default-topic-namespace --none --default 328 $ hg debug-default-topic-namespace --none --default
329
330 $ hg evolve --config extensions.evolve= --list
330 331
331 $ hg evolve --config extensions.evolve= --any 332 $ hg evolve --config extensions.evolve= --any
332 update:[7] tns=default 333 update:[7] tns=default
333 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 334 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
334 working directory is now at 68ef84f4b0a2 335 working directory is now at 38c9ea9d27a7
335 move:[7] tns=default
336 atop:[6] tns=none
337 working directory is now at ddeaa72064d4
338 336
339 $ hg debug-default-topic-namespace --none --default 337 $ hg debug-default-topic-namespace --none --default
340 338
341 $ hg verify --quiet 339 $ hg verify --quiet
342 340