News for hackers. Stuff that matters.
Re:GNU Emacs is on Bazaar now by jrockway on Monday December 28, 2009 @10:11AM (#1018640)
After 1000 email threads saying nothing and 3 years of work, GNU Emacs is now using a slightly less-broken revision control system.

Everyone I know working on Emacs just uses the Git version and sends patches against that. But we couldn't use Git for Emacs, because RMS does not like Linus. Rational!

Re:GNU Emacs is on Bazaar now by pohl on Monday December 28, 2009 @11:35AM (#1018805)
Since Bazaar "transparently supports foreign branches for Subversion, Git and Mercurial repositories", I have to ask: does it matter that they don't use Git?
Re:GNU Emacs is on Bazaar now by iambvk on Monday December 28, 2009 @10:39AM (#1018685)
I think it has more to do with Bazaar being a GNU project, not because RMS does not like Linux.
Re:GNU Emacs is on Bazaar now by nudded on Monday December 28, 2009 @11:05AM (#1018740)
You probably mean Linus? (makes a lot of difference)

If not http://en.wikipedia.org/wiki/Linus_Torvalds

Re:GNU Emacs is on Bazaar now by artagnon on Monday December 28, 2009 @05:01AM (#1018400)
Thank God it moved out of CVS finally. It's still very difficult to contribute though.
Re:GNU Emacs is on Bazaar now by oomkiller on Monday December 28, 2009 @11:02AM (#1018732)
Too bad it's not git.
Re:GNU Emacs is on Bazaar now by ubernostrum on Monday December 28, 2009 @01:37PM (#1019077)
Knee-jerk much?
Re:GNU Emacs is on Bazaar now by oomkiller on Friday January 01, 2010 @06:21PM (#1026434)
No, I've used bzr before, and much prefer git.
Re:GNU Emacs is on Bazaar now by SingAlong on Monday December 28, 2009 @11:08AM (#1018747)
When I saw this post I was wondering what bazaar was. then it took me a few seconds to google and figure out that GNU Bazaar is a version control system. Why don't they use git? Anything good with bazaar?

EDIT: Just saw the Bazaar site. Even MySQL and Ubuntu uses them. http://bazaar.canonical.com/

Re:GNU Emacs is on Bazaar now by zaphar on Monday December 28, 2009 @11:19AM (#1018762)
Actually, bazaar has to be the most difficult and confusing VCS to use out of all the options available. Git and HG are much saner options to use.
Re:GNU Emacs is on Bazaar now by pohl on Monday December 28, 2009 @11:42AM (#1018819)
I just heard about bazaar. Could you elaborate? It feels very mercurial-esque at first blush, and it would be nice to know what to look out for.
Re:GNU Emacs is on Bazaar now by zaphar on Tuesday December 29, 2009 @11:11AM (#1020646)
Strange I could have sworn I replied to this yesterday but obviously I didn't.

Bazaar is a fork of arch. The last time i truly looked at it it was only recently forked from arch. So you experience may vary.

At that time Bazaar was dog slow. Depending on who I ask it is either no longer slow or it's still slow just not as slow. Since Git and HG both suite my needs perfectly I've never bothered to check myself.

Bazaar uses multiple repository and wire formats none of which are completely compatible with each other. For an application whose focus is distributed collaboration this seems very much wrong.

It also from what I've heard is fragile when it comes to interrupted writes. I've had stories of folks losing the whole repository because of this. This is hearsay though so you can take it or leave it.

The sense I get is that both Git and Hg have a well exposed and understandable theory of operation while Bazaar does not seem to have this and instead just gives you a set of best practices. Again this is subjective and you may very well find that its quite useable and understandable.

Re:GNU Emacs is on Bazaar now by pohl on Tuesday December 29, 2009 @11:45AM (#1020712)
Thank you, that's exactly the kind of thing I was hoping you would share.

I wonder if you may be someone who used the software that was once also called "Bazaar" but has since been renamed to Baz. It appears that the current incarnation of Bazaar did not so much start out as a fork of arch, but as a test-bed for features that would eventually make it back into Baz (which did start out as a fork of arch). Apparently everybody decided to just ditch the old codebase and work on the new one instead.

http://en.wikipedia.org/wiki/Bazaar_(software)#History

I like what I saw from looking yesterday. I especially like how it handles renames and how it treats directories as first-class objects in the repository. I'm also drawn to their concept of "bound branches", which I suspect would be essential in one particular instance of SVN that I'm keen to replace with something distributed but not totally anarchistic.

I think I'm going to keep Mercurial for my own personal use, for the sole reason that you can get a free private repository at bitbucket.org, but not at launchpad.net or GitHub. If launchpad were to offer the same, that would probably tip the balance towards Bazaar for me.

Re:GNU Emacs is on Bazaar now by pohl on Monday December 28, 2009 @11:33AM (#1018798)
Bazaar caught me by surprise, too. I've been enjoying the DVCS world lately, having finally decided that I had outgrown SVN.

Mercurial grabbed me more than Git did. My first experience with Mercurial was very natural. Everything that I tried worked the first time in the way I first tried to do it. Git left me fumbling about and googling for answers, but I was able to acclimate quickly. Ultimately, I decided that I would need to use both: Mercurial for my own tastes, and Git just because it's the dominant player.

Bazaar looks like a strong competitor, even for Mercurial, in terms of usability.

Re:GNU Emacs is on Bazaar now by algorias on Monday December 28, 2009 @11:29AM (#1018792)
We use launchpad (i.e. bzr) for an open source project. It works and it does what you'd expect it to. Then again, it is a small project with simple needs.
Re:GNU Emacs is on Bazaar now by pieter on Monday December 28, 2009 @11:40AM (#1018813)
I hope this means bazaar performance has improved a lot. With the first imports they created, running a 'bzr log' command could take more than a minute before showing output. Funny enough, the developers didn't seem to mind, because 'it's only a bit slower than cvs'
Re:GNU Emacs is on Bazaar now by jrockway on Monday December 28, 2009 @12:04PM (#1018865)
It has improved, but not a lot. I find bzr to be unusable for working on Emacs (so I don't use it).
Re:GNU Emacs is on Bazaar now by blasdel on Monday December 28, 2009 @07:59AM (#1018508)
When I saw the headline I was afraid they'd switched to one of the ancient directly-arch-derived DCVSes that had the same name (depressing that I considered that plausible), but it looks like the FSF anointed Canonical's most recent project a couple years ago.
Re:GNU Emacs is on Bazaar now by zaphar on Tuesday December 29, 2009 @11:14AM (#1020651)
Bazaar is a fork of arch so you are correct in your initial assumption. It has however been actively developed by Canonical for several years so it's probably not as bad as it was then.
Re:GNU Emacs is on Bazaar now by pohl on Tuesday December 29, 2009 @12:45PM (#1020844)
It seems that the current Bazaar was never a fork of arch. There was an old fork of arch that was once also called "Bazaar", but it was renamed to "Baz" and is no longer maintained. The current implementation is a new codebase. The only thing it appears to have in common with the old fork of arch is the name, which they must have carried forward for the sake of maximal confusion.

http://en.wikipedia.org/wiki/Bazaar_(software)#History

Re:GNU Emacs is on Bazaar now by nuclear_eclipse on Monday December 28, 2009 @09:34AM (#1018576)
From the first follow-up mail:

'Then I noticed that "C-x v v C-c C-c" is enough to commit in CVS, but perhaps not in Bazaar.'

Wow.

Re:GNU Emacs is on Bazaar now by talboito on Monday December 28, 2009 @10:25AM (#1018657)
Exactly, committing with no message is poor practice.

That should be: "C-x v v <Type Commit Message> C-c C-c"

Re:GNU Emacs is on Bazaar now by geocar on Monday December 28, 2009 @10:19AM (#1018652)
Wow?
Re:GNU Emacs is on Bazaar now by NikkiA on Monday December 28, 2009 @10:26AM (#1018664)
I imagine that nuclear_eclipse is commenting on the obtuseness of C-x v v C-c C-c as a sequence of characters to tell emacs to commit a change.

Although it's not quite so daunting once you realise that C-x v is the version-control prefix, and 'v' is commit individual file. C-c C-c is just the command sequence to finish editing the commit message.

Once you leave apart the 'finish editing commit message' command, which is really a seperate task, C-x v v is arguably obtuse as a way of saying commit individual file, but on the other hand, C-x v as a prefix for all vcs related functions is easy enough to remember, and 'v' for commit individual file is easy enough to remember too.

In the microsoft world, 'C-x v v C-c C-c' would be replaced by a 10 page wizard most likely, and be far more irritating.

[Please note, I do not condone the use of empty commit messages, that's a heinous crime IMO]

Edit to add:

In my use of emacs with hg, I believe that that sequence will do exactly the same as it does under cvs, and it's reasonable to believe that the vcs-bazaar backend is no different either, so the complaint in the email is likely invalid.

Re:GNU Emacs is on Bazaar now by nuclear_eclipse on Monday December 28, 2009 @10:52AM (#1018712)
Thank you. That's exactly the explanation I was looking for, and you're right; `C-x v` is much more reasonable as a hotkey for invoking vcs tasks, similar to git integration in Vim, <Leader>-g-c for commit, etc. I was just blown away imagining some superbly arcane key chord involving pressing and releasing control twice in a string of five letters... :P
Re:GNU Emacs is on Bazaar now by silentbicycle on Monday December 28, 2009 @12:44PM (#1018942)
Specifically, "C-x v v" is C-x (extended commands), v (version control prefix), v ("next action": do the next logical step for the current buffer, usually committing).

C-c twice is used in several modes to mean "save and close out". It's also what you hit to send an e-mail you're composing, for example. Holding control and pressing c twice is pretty easy, just like whacking v twice for "next action". (C-c usually prefixes commands specific to the buffer's mode, such as "send the definition under the cursor to Python".)

If you ever forget any of this, you can type "C-x v" and then C-h (Help) and it will list all of the keyboard shortcuts prefixed by C-x v, i.e., all shortcuts related to version control. (I find VC shortcuts go straight to muscle memory, but just in case.)

What NikkiA says above about those five keystrokes being a 10 page wizard in other systems is spot-on.