wishlist: one step add and commit

Bug #130617 reported by Jari Aalto
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

Under slow operation systems[*] / PCs, separate bzr commands are
expesive (takes time):

    bzr add . # suppose 500 file add from tar.gz
    bzr ci -m "- 0.23 original sources"

If the add option took also -m message option the initial import
would be one step and way faster:

    bzr add -m "- 0.23 original sources" .

[*] add & commit of Linux 21.2 kernel headers under Cygwin / PII 450Mhz
takes approx 14min. See
http://permalink.gmane.org/gmane.comp.version-control.bazaar-ng.general/28946

See also previous discussion 15 Mar 2007, "[0.14] Improving bzr add: Add option --message (for auto 'ci')"
https://lists.ubuntu.com/archives/bazaar/2007q1/023609.html

Revision history for this message
John A Meinel (jameinel) wrote :

Under cygwin you might look into 2 options.

"bzr shell" is a command provided by bzrtools, which introduces a 'shell' that is context sensitive to bzr commands.

It also keeps bzrlib loaded, which helps a lot with the overhead.

Another possibility is:
https://launchpad.net/bzr-service

Which is a plugin which launches a bzr "service". You then use a simple compiled program that talks to it and makes requests. Where it forks another command, and runs it for you.
It should work on Cygwin, I don't think it works on native Win32 (because of a lack of os.fork()).

Finally, I believe the proposed syntax for this was actually "bzr commit --auto/-a", which means add and remove files as necessary.

Revision history for this message
Martin Pool (mbp) wrote : Re: wishlist: one step add&commit

I don't see a bug already open for commit --auto, so I've retitled and confirmed this. If I missed it, we can mark them as dupes.

Changed in bzr:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Robert Collins (lifeless) wrote :

My branch for this is still hanging around somewhere I suspect.

summary: - wishlist: one step add&commit
+ wishlist: one step add and commit
Revision history for this message
Jon Loldrup (loldrup) wrote :

@Robert
So its fixed?
When will we see it around?
and would it get to Ubuntu 10.10?

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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