[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#464837: should warn about merciurial files



reopen 464837
retitle 464837 [checks/cruft] warn about Mercurial files
thanks

Chris Lamb <lamby@debian.org> writes:
> Holger Levsen wrote:

>> Sadly I don't know mercurial at all, so I cannot give you that information.

>  File              Purpose                          Should Lintian warn?
>  ============================================================================
>
>  .htignore         Parallel to .gitignore; regexes  Yes, for the same reasons
>                    of files hg ignores.             we warn for .gitignore.

We don't warn about .gitignore (or .cvsignore or .bzrignore) because it
makes sense to ship those files in the source package.  (I'm an example of
an upstream maintainer who thinks that including those files in
distributions is better than removing them.)  I removed those tags a while
back (Lintian 1.23.24).

>  .hgtags           Stores hashes of tagged commits  Yes, as this data isn't
>                    in a Mercurial repo.             useful if we don't have
>                                                     the repo.

Excellent, thanks.  I'll add a warning about this one.

>  .hg_archival.txt  Created by `hg archive`; added   No, seems to be common
>                    to the created tarball so that   and might be useful for
>                    you can determine exactly which  maintainers. Some build
>                    commit corresponds to the        scripts might use it to
>                    tarball.                         include in --version
>                                                     output, for example.

> Hope this helps.

Yes, very much!  Thank you!

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: