Notes about Bazaar: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
No edit summary
Line 34: Line 34:
On getting such an error you've probably been trying to use something like lp:~username instead of bzr+ssh://  
On getting such an error you've probably been trying to use something like lp:~username instead of bzr+ssh://  


Solution: Execute "bzr launchpad-login <username>" on a command line.
Solution1: Execute "bzr launchpad-login <username>" on a command line.
Solution2: Perhaps you reinstalled your system. Then you need to create a new public/private-keypair. Possibly you need to execute bzr checkout ... afterwards to apply the new key.

Revision as of 17:24, 7 March 2012

General instructions

Administration

ChristianK and WolfgangB are the administrators for the bazaar server. New accounts are created by them, when they are given the corresponding public SSH key in OpenSSH format.


Mentor should request rights to change the branch configuration by them. They will add them to the corresponding group.

Add branch specific commit rights

Mentor could add branches, the trainee is allowed to commit to. This is done with the following steps:

Now the trainee is able to commit to the branch.

Frequently asked questions

bzr: ERROR: Could not acquire lock (remote lock)

This can happen when cancelling during a commit, and probably in other situations too. You will get the error the next time your are attempting to commit.

Solution: open the command line console (eg. cmd.exe), and change into the directory of your branch, and run:

bzr break-lock

bzr: ERROR: paramiko.SSHException: lost ssh-agent

If you get such an error on Windows 7 64-bit then try to run pageant not as Administrator but as normal user.

Could not open a connection to your authentication agent

If you get such an error then please have a look here or here

bzr: ERROR: Cannot lock LockDir(...): Transport operation not possible: http does not support mkdir()

On getting such an error you've probably been trying to use something like lp:~username instead of bzr+ssh://

Solution1: Execute "bzr launchpad-login <username>" on a command line. Solution2: Perhaps you reinstalled your system. Then you need to create a new public/private-keypair. Possibly you need to execute bzr checkout ... afterwards to apply the new key.