[issue724] Trailing slash in cp target is ignored
mercurial-bugs at selenic.com
Mon Sep 3 03:00:05 CDT 2007
New submission from kiilerix-gmail <kiilerix at gmail.com>:
I expect a trailing slash on cp destination to be interpreted as "target is a
directory, copy into it". If the target doesn't exist as directory it should
either be created or the command should fail.
hg init .
hg com -A -m zup
hg cp foo bar/ # should be different than "hg cp foo bar"
touch bar/something # should succeed if bar has been created
title: Trailing slash in cp target is ignored
Mercurial issue tracker <mercurial-bugs at selenic.com>
More information about the Mercurial-devel