Enable "hg push --new-branch" by default in hgrc
Dominik Psenner
dpsenner at gmail.com
Thu Mar 24 09:02:43 CDT 2011
Hi list.
I'm unsure if this was yet proposed. Feel free to point me somewhere where
it makes sense.
We're working a lot with named branches to keep track of bug-related fixes.
We push those changes also to our master repository as we want that
information to become historical.
The odd thing about this is that we have to type --new-branch almost for
every push we do, so it would be natural to enable it by default.
Unfortunately this is the only thing I was able to come up with and I'm
worried having this in my hgrc could be dangerous:
-- quote
[alias]
push = push --new-branch
-- quote
What do you guys think about making --new-branch configurable in hgrc
without the need of an alias definition?
Greetings,
D.
More information about the Mercurial-devel
mailing list