[Python-Dev] .{git,bzr}ignore in cpython HG repo

Brett Cannon brett at python.org
Wed Apr 4 15:57:55 CEST 2012


On Mon, Apr 2, 2012 at 08:58, Thomas Spura <thomas.spura at googlemail.com>wrote:

> On Mon, Apr 2, 2012 at 2:54 PM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> > Antoine Pitrou, 02.04.2012 13:50:
> >> On Sun, 1 Apr 2012 19:44:00 -0500
> >> Brian Curtin wrote:
> >>> On Sun, Apr 1, 2012 at 17:31, Matěj Cepl wrote:
> >>>> On 1.4.2012 23:46, Brian Curtin wrote:
> >>>>> For what reason? Are the git or bzr files causing issues on HG?
> >>>>
> >>>>
> >>>> No, but wrong .gitignore causes issues with git repo obtained via
> >>>> hg-fast-import. If it is meant as an intentional sabotage of using
> git (and
> >>>> bzr) for cpython, then that's the only explanation I can understand,
> >>>> otherwise it doesn't make sense to me why these files are in HG
> repository
> >>>> at all.
> >>>
> >>> Then you won't understand. Sometimes things get out of date when they
> >>> aren't used or maintained.
> >>>
> >>> You're welcome to fix the problem if you're a Git user, as suggested
> earlier.
> >>
> >> That said, these files will always be outdated, so we might as well
> >> remove them so that at least git / bzr users don't get confused.
> >
> > How often is anything added to the .hgignore file? I doubt that these
> files
> > will "sufficiently always" be outdated to be unhelpful.
>
> How about using symlinks and only using a common syntax in .hgignore
> that git also understands?
>

Because .hgignore has a more expressive syntax. We shouldn't hobble or make
messy our hg repo just for the sake of git.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120404/0b4f713d/attachment.html>


More information about the Python-Dev mailing list