[issue735] Add global option to first change directory

Miki Tebeka mercurial-bugs at selenic.com
Wed Sep 12 00:39:49 CDT 2007

New submission from Miki Tebeka <miki.tebeka at gmail.com>:

Add an configuration option to first change directory before running.

Assume you're in /tmp and you made changes to ~/work/cool.c, currently you
either need to manually change directory or specify --cwd.

However with this option `hg ci -m 'cool hack' ~/work/cool.c` will just work
instead of emitting:
    abort: There is no Mercurial repository here (.hg not found)!

This scenario happen for me many time in a day, where I quickly fix something in
another directory and check it in from another (works fine in svn, bzr ...)

messages: 3989
nosy: tebeka
priority: feature
status: unread
title: Add global option to first change directory

Mercurial issue tracker <mercurial-bugs at selenic.com>

More information about the Mercurial-devel mailing list