Changing the directory names
Steve Borho
steve at borho.org
Tue Jan 19 20:11:52 UTC 2010
On Tue, Jan 19, 2010 at 2:04 PM, Octavian Rasnita <orasnita at gmail.com> wrote:
> Thank you but it is not very elegant because it means that I will need to
> keep the badly-named directory, and make that rename on the server each time
> I clone the application on the server.
>
> I have also tried to use those commands (hg mv) under Windows, but it
> doesn't seem to work fine.
>
> hg mv Directory/ directory
>
> ... creates another Directory under the Directory, and moves in it the files
> that were under the initial Directory.
Try this:
rename Directory directory
hg mv --after Directory directory
And if hg is not using the "correct" case for a file or directory
name, force the working copy to be rebuilt from scratch:
hg update null
hg update tip
--
Steve Borho
More information about the Mercurial
mailing list