[issue2306] -R/-cwd support in aliases

Dale bugs at mercurial.selenic.com
Tue Jul 27 12:03:59 UTC 2010


New submission from Dale <dale.wijnand at gmail.com>:

I've found that having this in my hgrc doesn't work as intended:

[alias]
upstream-push = push -R default

The use case is:
- 2 local repositories, 1 mirror of a remote repository, and one clone of 
that mirror
- from the clone, push to mirror
- from the clone push the mirror to the remote (using hg -R default push, 
which does work)

I wanted to alias this common operation so I could type:
hg push
hg upstream-push (and hg upstream-up)

Thanks,
Dale

----------
messages: 13235
nosy: DaleMox
priority: bug
status: unread
title: -R/-cwd support in aliases

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2306>
____________________________________________________


More information about the Mercurial-devel mailing list