warn when committing large (binary) files
Bug #54624 reported by
Martin Pool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Shannon Weyrick |
Bug Description
From: martin f krafft
This just in on #revctrl:
Vesta has this really simple feature where any time you try to
commit a file over a certain limit (which defaults to 1MB), it
complains unless you give a command-line flag that changes that
upper limit.
I think this would be a good feature to have in bzr, and while
I would see this even in core (with a default limit that can be
overridden for each branch), I realise that it need not be, that it
would also be a worthy plugin.
I can't implement this at the moment, but I wanted to get the idea
out. Maybe someone else has the time and muse...
Related branches
lp:~weyrick/bzr/54624-warn-on-large-files
- martin suchanek (community): Needs Fixing
- Jonathan Riddell (community): Needs Fixing
- Jelmer Vernooij (community): Needs Information
-
Diff: 336 lines (+169/-10)9 files modifiedbzrlib/add.py (+44/-0)
bzrlib/builtins.py (+5/-1)
bzrlib/config.py (+40/-0)
bzrlib/help_topics/en/configuration.txt (+8/-0)
bzrlib/mutabletree.py (+13/-6)
bzrlib/osutils.py (+6/-3)
bzrlib/tests/blackbox/test_add.py (+24/-0)
bzrlib/tests/test_config.py (+20/-0)
doc/en/release-notes/bzr-2.5.txt (+9/-0)
tags: | added: easy memory |
Changed in bzr: | |
importance: | Wishlist → Medium |
Changed in bzr: | |
assignee: | nobody → Shannon Weyrick (weyrick) |
Changed in bzr: | |
status: | Confirmed → Fix Committed |
Changed in bzr: | |
milestone: | none → 2.5b1 |
To post a comment you must log in.
It could be nice to at least warn, so that people don't commit their large ISO image accidentally. (Or commit their .obj, .pch, etc files)