This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年04月02日 10:20 by mcepl, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| _gitignore.patch | mcepl, 2012年04月02日 10:20 | suggested patch | ||
| Messages (10) | |||
|---|---|---|---|
| msg157346 - (view) | Author: Matej Cepl (mcepl) * | Date: 2012年04月02日 10:20 | |
Patch for the port of .hgignore to .gitignore is attached |
|||
| msg157347 - (view) | Author: Thomas Spura (tomspur) | Date: 2012年04月02日 10:52 | |
AFAIK hg supports symlinks. Why not just symlink .gitignore to .hgignore and keep .hgignore up to date? But in this case "$" and "^" need to be avoided, e.g. this doesn't work for git: Makefile$ Makefile.pre$ |
|||
| msg157354 - (view) | Author: Matej Cepl (mcepl) * | Date: 2012年04月02日 12:34 | |
Right ... .gitignore doesn't support regexeps (they are not needed IMHO here, but that's another point). |
|||
| msg157371 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2012年04月02日 17:57 | |
Symlinks don't work well on Windows. I think a comment in .hgignore asking to update the other two ignores as well is the best solution. |
|||
| msg161105 - (view) | Author: Petri Lehtinen (petri.lehtinen) * (Python committer) | Date: 2012年05月19日 10:25 | |
Against which branch or Python version your patch is? It doesn't apply cleanly on any branch (and yes, I changed the target filename to .gitignore first). |
|||
| msg161164 - (view) | Author: Matej Cepl (mcepl) * | Date: 2012年05月19日 21:26 | |
On 19.5.2012 12:25, Petri Lehtinen wrote: > Against which branch or Python version your patch is? It doesn't > apply cleanly on any branch (and yes, I changed the target filename > to .gitignore first). It used to be master, but probably some time ago. Matěj |
|||
| msg161165 - (view) | Author: Éric Araujo (eric.araujo) * (Python committer) | Date: 2012年05月19日 21:32 | |
I’m afraid "master" has no meaning with a Mercurial repo. Anyway we can still use your patch to update .gitignore, thanks! |
|||
| msg161365 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年05月22日 17:52 | |
New changeset fb5da2a5d9da by Petri Lehtinen in branch 'default': #14472: Update .gitignore http://hg.python.org/cpython/rev/fb5da2a5d9da |
|||
| msg161366 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年05月22日 18:07 | |
New changeset 8652dd5c2a14 by Petri Lehtinen in branch '3.2': #14472: Update .gitignore http://hg.python.org/cpython/rev/8652dd5c2a14 |
|||
| msg161367 - (view) | Author: Petri Lehtinen (petri.lehtinen) * (Python committer) | Date: 2012年05月22日 18:13 | |
Fixed in default and 3.2 branches, which are quite similar. Thanks for the patch! Closing now. Feel free to reopen if you want to provide a patch for the 2.7 branch, too. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:28 | admin | set | github: 58677 |
| 2012年05月22日 18:13:06 | petri.lehtinen | set | status: open -> closed resolution: fixed messages: + msg161367 versions: + Python 3.2, Python 3.3 |
| 2012年05月22日 18:07:54 | python-dev | set | messages: + msg161366 |
| 2012年05月22日 17:52:40 | python-dev | set | nosy:
+ python-dev messages: + msg161365 |
| 2012年05月19日 21:32:38 | eric.araujo | set | nosy:
+ eric.araujo messages: + msg161165 |
| 2012年05月19日 21:26:37 | mcepl | set | messages: + msg161164 |
| 2012年05月19日 10:25:34 | petri.lehtinen | set | messages: + msg161105 |
| 2012年05月18日 12:53:22 | petri.lehtinen | set | nosy:
+ petri.lehtinen |
| 2012年04月02日 17:57:33 | georg.brandl | set | nosy:
+ georg.brandl messages: + msg157371 |
| 2012年04月02日 12:34:39 | mcepl | set | messages: + msg157354 |
| 2012年04月02日 10:52:12 | tomspur | set | nosy:
+ tomspur messages: + msg157347 |
| 2012年04月02日 10:20:42 | mcepl | create | |