Bram Moolenaar, 2010-05-26 22:59:
> 
> Tony Mechelynck wrote:
> 
> > On 25/05/10 22:37, Bram Moolenaar wrote:
> > [...]
> > > The undo files are hidden, all version control systems I know will
> > > ignore them.  E.g. swap files are normally not a problem.
> > [...]
> > 
> > For a counterexample, Mercurial tracks files regardless of an initial 
> > dot: .hgignore is specifically mentioned as tracked, and I've also seen 
> > it mentioning src/.version.c.swp when I did hg status with a file open 
> > in Vim.
> 
> Yeah, Mercurial is a bit annoying, it does ignore it's own files (.hg,
> .hgtags) but not others.

And that's the right thing to do. A VCS shouldn't add this kind of
policy. If dot files were ignored by default, they would be hidden in
"hg status" and you would forget to add them for tracking (.hgignore for
example).

You can still add something like .*.swp to .hgignore for the swap files.

Markus

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui