the experimienta force topic feature does not work always.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

the experimienta force topic feature does not work always.

Uwe Brauer


Hi

Steps to reproduce

    1. Use the evolve extension

    2. Have topic activated

    3. Have the record extension activated

    4. Set
       [experimental]
       enforce-topic = True

    5. Activate curses
       interface = curses

    6. Run hg record

Expected behavior: rejection since you did not set up a topic.

Actual behavior: commit is accepted without a topic


Remark: if your run hg ci instead of hg record everything work as expected.

Regards

Uwe Brauer






_______________________________________________
Mercurial mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial
Reply | Threaded
Open this post in threaded view
|

[SOLVED] (was: the experimienta force topic feature does not work always.)

Uwe Brauer
>>> "UB" == Uwe Brauer <[hidden email]> writes:

   > Hi

   > Steps to reproduce

   >     1. Use the evolve extension

   >     2. Have topic activated

   >     3. Have the record extension activated

   >     4. Set
   >        [experimental]
   >        enforce-topic = True

   >     5. Activate curses
   >        interface = curses

   >     6. Run hg record

I thougt hg record was an alias to
hg commit -i

It was not and indeed called the old record extension.

 hg ci -I

Works as expected


_______________________________________________
Mercurial mailing list
[hidden email]
https://www.mercurial-scm.org/mailman/listinfo/mercurial

smime.p7s (7K) Download Attachment