[issue198] force "hg init" to require an argument

Bryan O'Sullivan mercurial-bugs at selenic.com
Mon Apr 3 23:00:32 UTC 2006


New submission from Bryan O'Sullivan <bos at serpentine.com>:

I just ran "hg init" in my home directory by accident, and it turned it into a
repository.  This isn't really a problem, but I really didn't mean to do it
either.  We should require "init" to always take an argument.  If the user
really means "turn the current directory into a repo", they can type "hg init .".

----------
messages: 935
nosy: bos
priority: bug
status: unread
title: force "hg init" to require an argument

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




More information about the Mercurial mailing list