bazaar

Understandability of git, mercurial, bazaar source code bases

 ̄綄美尐妖づ 提交于 2019-12-07 06:28:57
问题 I'd like to read the source code of one of the popular revision control tools to learn how revision control works. I'd like to read the one that is most readable. I don't know of an objective, quantitative measure of this, so in the spirit of the WTFs/min comic, I'd like to ask those who have read the source codes of these tools, how many WTFs/min do you estimate each project has? 回答1: If you read C well (and some Perl and bash too), adymitruk is right. Git is a good choice. However, if you

How can I have two “streams of development” (branches?) track each other while remaining different in particular ways?

余生长醉 提交于 2019-12-07 03:22:40
问题 BRIEF: I want to have two (or more) "streams of development" / environments track each other, sending changes between each other in both directions, without converging totally - while preserving certain key, essential, differences? DETAIL, ONE PARTICULAR EXAMPLE: Here is one particular example: I have been version controlling my home directory, glew-home, for, oh, 28 years. RCS, SCCS, many RCS wrappers, CVS, SVN, a brief period of experimentation with early DVCS like Monotone and Darcs, bzr,

How can i read bzr repository from python script?

不想你离开。 提交于 2019-12-06 15:25:35
like getting information about changesets/comments etc. First off, if you are on Windows, you should consider using the "Python 2.x" installers rather than the standalone installer for Bazaar. This will install bzrlib in Python's site-packages directory, so you don't have to mess around with %PYTHONPATH% . If you have already used the stanadalone installer, you'll need to add lib/ and lib/library.zip from your Bazaar installation directory to the PYTHONPATH environment variable. If you chose the default, this is C:\Program Files\Bazaar Once you can successfully import bzrlib , some examples

Permission Denied on SSH on Bazaar

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-06 04:37:35
I'm new to Bazaar. I'm trying to setup my SSH Keys, but I'm always getting " Permission Denied ". Here are the things I did: Open PuTTYgen Click "Generate" Move around the mouse pointer Add a passphrase "password" Click the "Save public key", and save the public key Click the "Save private key", and save the private key "Private Key.ppk" Login and go to https://launchpad.net/~paulmarkcastillo/+editsshkeys Copy the Public Key from PuTTY Key Generator window, and paste it to the Launchpad Click "Import Public Key" I received an email about the new import (New SSH key added to your account). Open

Some code was lost after doing bzr commit --local, bzr pull, bzr commit

不打扰是莪最后的温柔 提交于 2019-12-05 13:48:07
A developer in my team has been using a branch bound to the server (IE, only using checkout, update, and commit), but also often uses the --local flag on commit and then commits to the server in a batch. She recently experienced a situation where she is missing some local commits, and can't find them in the repo OR her local code. She suspects that this is because she did a pull at some point in bettween local commits and server commits. Neither of us are particularly experience with Bazaar -- What may have happened, and where can we look for this missing code? She is fairly certain that she

Understandability of git, mercurial, bazaar source code bases

喜欢而已 提交于 2019-12-05 11:27:45
I'd like to read the source code of one of the popular revision control tools to learn how revision control works. I'd like to read the one that is most readable. I don't know of an objective, quantitative measure of this, so in the spirit of the WTFs/min comic , I'd like to ask those who have read the source codes of these tools, how many WTFs/min do you estimate each project has? If you read C well (and some Perl and bash too), adymitruk is right. Git is a good choice. However, if you're more comfortable with Python, read Mercurial's source. Many of the WTFs/min are going to come from your

How significant is the bazaar performance factor?

孤者浪人 提交于 2019-12-05 07:55:26
I hear all this stuff about bazaar being slower than git. I haven't used too much distributed version control yet, but in Bazaar vs. Git on the bazaar site, they say that most complaints about performance aren't true anymore. Have you found this to be true? Is performance pretty much on par now? I've heard that speed can affect workflow (people are more likely to do good thing X if X is fast). What specific cases does performance currently affect workflow in bazaar vs other systems (especially git), and how? I'm just trying to get at why performance is of particular importance. Usually when I

How can I have two “streams of development” (branches?) track each other while remaining different in particular ways?

孤人 提交于 2019-12-05 06:38:14
BRIEF: I want to have two (or more) "streams of development" / environments track each other, sending changes between each other in both directions, without converging totally - while preserving certain key, essential, differences? DETAIL, ONE PARTICULAR EXAMPLE: Here is one particular example: I have been version controlling my home directory, glew-home, for, oh, 28 years. RCS, SCCS, many RCS wrappers, CVS, SVN, a brief period of experimentation with early DVCS like Monotone and Darcs, bzr, git, and now Mercurial. At the moment I am mainly happy using Mercurial, although I'll jump back to git

Can I edit the message of an older revision in Bazaar?

走远了吗. 提交于 2019-12-05 03:32:27
How can I edit an older revision's message to more correctly describe its changes? You cannot edit the commit message of an old revision without changing the revision id of the modified revision and all its descendants. Well... technically you can, if you try hard enough, but the technical term for the result is "corrupt repository". A repository in bzr is a replica of a distributed database of revisions, and if all replicas don't agree on the content of a revision, you have an integrity violation. Meaning, all bets are off, and the system will actively try to detect such situations and refuse

Is there a Bazaar equivalent to `git commit --amend`?

元气小坏坏 提交于 2019-12-04 22:40:50
I'm playing around with Launchpad projects using Bazaar and getting along fairly well. However, coming from a Git background I'm really missing the ability to roll changes into the last commit---this happens frequently when I discover a small, stupid typo that really doesn't deserve its own commit or entry in a debian/changelog file. Does Bazaar provide a command that serves the same purpose as git commit --amend ? bzr uncommit + bzr commit but it does not populate your editor with old commit message. If you can use bzr-gtk or QBzr then use bzr uncommit + bzr gcommit (or bzr qcommit ). The GUI