Uwe Brauer writes: > > Arne Babenhauserheide writes: > > > > A more canonical version uses > > > hg ci --amend -m stable > > The first VC I used for years was RCS and I always hated ci and co, > since I never was 100 % sure what was what, so for mercurial I use always > > hg commit -m "Some message" > > And > > hg update -r somesrev
I use ci and up, but luckily that’s up for personal taste :) > More to type, but easier to remember and to understand. > > > but this requires giving the message again (or confirming it in the > editor). > > > > More canonical would be > > > hg log -G > > Which I also use always. > > > I now published the canonical version on my website: > > > http://www.draketo.de/english/mercurial/rename-branch-evolve > > Cool, thanks I now found a way to compress that to 140 letters: hg branch name O→N I="$(hg id -qr 'first(branch('$O'))')" M="$(hg log -r $I -T' {desc}')" hg up $I hg branch $N hg ci --amend -m "$M" hg ev (see https://twitter.com/ArneBab/status/799607154739126272 ☺) Best wishes, Arne -- Unpolitisch sein heißt politisch sein ohne es zu merken
signature.asc
Description: PGP signature
_______________________________________________ Mercurial mailing list [email protected] https://www.mercurial-scm.org/mailman/listinfo/mercurial
