"bzr add" needlessly tells me everything it ignored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I just had an interaction with "bzr add" that I think can be improved.
First:
bradb@oxygen:
added:
lib/canonical
modified:
lib/canonical
lib/canonical
lib/canonical
lib/canonical
lib/canonical
unknown:
lib/canonical
Being lazy, I just type "bzr add" to add that one unknown file.
bradb@oxygen:
added lib/canonical/
ignored 1 file(s) matching "*.orig"
ignored 651 file(s) matching "*.py[oc]"
ignored 1 file(s) matching "*.so"
ignored 5 file(s) matching "./.bzr-shelf*"
ignored 1 file(s) matching "CVS"
ignored 1 file(s) matching "TAGS"
ignored 1 file(s) matching "configs/
ignored 1 file(s) matching "launchpad-
ignored 1 file(s) matching "launchpad.log"
ignored 1 file(s) matching "sourcecode/
ignored 1 file(s) matching "sourcecode/bzr"
ignored 1 file(s) matching "sourcecode/cscvs"
ignored 1 file(s) matching "sourcecode/gnarly"
ignored 1 file(s) matching "sourcecode/hct"
ignored 1 file(s) matching "sourcecode/
ignored 1 file(s) matching "sourcecode/pybaz"
ignored 1 file(s) matching "sourcecode/
ignored 1 file(s) matching "sourcecode/pyme"
ignored 1 file(s) matching "sourcecode/pytz"
ignored 1 file(s) matching "sourcecode/
ignored 1 file(s) matching "sourcecode/
ignored 1 file(s) matching "sourcecode/sqlos"
ignored 1 file(s) matching "sourcecode/zope"
If you wish to add some of these files, please add them by name.
bradb@oxygen:
It would have been easier on my brain if this just said:
bradb@oxygen:
added lib/canonical/
1 file added.
bradb@oxygen:
If anything, the current "ignored" output should be hidden behind some kind of flag, maybe -v or --show-ignored.
Changed in bzr: | |
status: | Unconfirmed → Confirmed |
On Fri, Jan 27, 2006 at 06:52:35PM -0000, Brad Bollenbach wrote: /launchpad. net/malone/ bugs/29877 ~/canonical/ malone- smallfixes $ bzr st launchpad/ doc/bugtarget. txt launchpad/ database/ distribution. py launchpad/ database/ distributionsou rcepackage. py launchpad/ database/ product. py launchpad/ interfaces/ bug.py launchpad/ zcml/distributi onsourcepackage .zcml launchpad/ components/ bugtarget. py
> Public bug reported:
> https:/
>
> Affects: bzr (upstream)
> Severity: Normal
> Priority: (none set)
> Status: Unconfirmed
>
> Description:
> I just had an interaction with "bzr add" that I think can be improved.
>
> First:
>
> bradb@oxygen:
> added:
> lib/canonical/
> modified:
> lib/canonical/
> lib/canonical/
> lib/canonical/
> lib/canonical/
> lib/canonical/
> unknown:
> lib/canonical/
>
> Being lazy, I just type "bzr add" to add that one unknown file.
I like to do that as well.
> bradb@oxygen: ~/canonical/ malone- smallfixes $ bzr add launchpad/ components/ bugtarget. py
> added lib/canonical/
<snip ignored files>
> If you wish to add some of these files, please add them by name. ~/canonical/ malone- smallfixes $
> bradb@oxygen:
Some of these I do not recognise the pattern that ignores them, it looks
like you ignored them yourself? (ie, not a result of default ignores).
The way you describe your workflow, I'm guessing this list of ignores is
presented each time you add a file? I see how that becomes irritating.
> It would have been easier on my brain if this just said: ~/canonical/ malone- smallfixes $ bzr add launchpad/ components/ bugtarget. py ~/canonical/ malone- smallfixes $
>
> bradb@oxygen:
> added lib/canonical/
>
> 1 file added.
> bradb@oxygen:
>
> If anything, the current "ignored" output should be hidden behind some
> kind of flag, maybe -v or --show-ignored.
But then people (especially new users) will be surprised by ignored files.
When the printing of ignored files was introduced a balance was sought
between these two, it took some time to reach the current state. Perhaps
we can do even better.
Wouter van Heyst