Hi all,

I'm doing this in Linux, with Hg Version 3.9.1 and I do all of the work in
the command line.

Lets say in my repository, I have two directories, "foo" and "bar".  "foo"
has a directory called "stuff" and inside of "stuff" is a text file
"morestuff.txt".  Something like this:

repo/foo/stuff/morestuff.txt
  +  /bar

I copied the directory "stuff" (with "morestuff.txt") into "bar" via
command line.  I was fully expecting to see "morestuff.txt" displayed as an
unknown file after running hg status.  However, nothing was displayed at
all!

This was weird.  And every time I delete this and re-didi it, same result
(initially thought that I mis-typed and messed up something much much
earlier.)  Odd... so I made a small experiment.  I named a the directory
inside of "bar" "blah" and copied "morestuff.txt" into "blah", so it would
look like this:

repo/bar/blah/morestuff.txt

Now, when I run hg status, Mercurial clearly marks "morestuff.txt" as an
unknown file.

Why is this?  In the entire repository, am I not allowed to have
directories of the same name even if they are part of the filesystem at
different points?

This was very bizarre.
_______________________________________________
Mercurial mailing list
Mercurial@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to