-N as alias for --no-recurse

Bug #945904 reported by Jelmer Vernooij
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Jelmer Vernooij

Bug Description

It would be nice to have a short option for --no-recurse, which is fairly long to type.

Other tools (in particular, svn) seem to use -N for this, so it would probably make sense to go with that. We don't seem to have any other meaning for -N yet.

Tags: ui

Related branches

Jelmer Vernooij (jelmer)
summary: - -N as alias for --no-recuse
+ -N as alias for --no-recurse
Jelmer Vernooij (jelmer)
Changed in bzr:
status: Confirmed → In Progress
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 2.6b1
Revision history for this message
Andrew Cowie (afcowie) wrote :

As you're building a new project you add a little bit at a time; and I am constantly surprised that "oops!" `bzr add` went deep, especially when you're being careful trying to add the bits you know you should have under version control.

The END RESULT is yes, you might have added everything, but that's not a conclusion you immediately come to, and having added everything recursively by accident be the first experience of using Bazaar is jarring. Worse, you're then left with having to figure out how to undo this unintented action.

The END RESULT after carefully adding lots of things is yes, you might have added everything, but that's not a conclusion you immediately come to.

++

Also things like "yes, I should add the log/ directory as an empty stub... ooops, oh crap" happens a lot.

++

I would recommend changing the default behaviour to be NOT recursive, and adding -R to enable recursion. But failing that, yes a short alias would indeed be lovely.

AfC

Vincent Ladeuil (vila)
Changed in bzr:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.