bazaar

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

萝らか妹 提交于 2019-12-22 08:55:59
问题 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 -

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

北战南征 提交于 2019-12-22 04:35:22
问题 How can I edit an older revision's message to more correctly describe its changes? 回答1: 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

Why to use SVN? Any hidden pros (over GIT/Mercurial/Bazaar) there? [duplicate]

荒凉一梦 提交于 2019-12-20 09:36:49
问题 This question already has answers here : Closed 9 years ago . Possible Duplicates: Why is git better than Subversion? I've already read a lot (not enough to get the perfect picture though) about versioning systems, and the obvious conclusion is that GIT is simply the best. Or Bazaar maybe. Or Mercurial. But if so it was, then nobody would be using SVN, but they still do. Why? I myself have no own opinion on what v.c.s. is generally the best yet because of lack of experience with them. Could

How can I mirror a project hosted on launchpad on github?

坚强是说给别人听的谎言 提交于 2019-12-20 09:32:00
问题 I want to contribute actively to a project that is hosted on Launchpad. I'm much more comfortable with GitHub, and would like to continue to use it if possible. Would I be able to mirror the bzr repository on github? If it's possible, how could I set this up? 回答1: You could try some kind of git-bzr bridge like this git-bzr git-bzr script: This script allows you to add bazaar repositories as git branches in your git repository. After that, you can fetch the Bazaar repo, make some changes, and

How to list versioned files in git?

送分小仙女□ 提交于 2019-12-20 09:29:03
问题 I would like to list the versioned files in the root directory of a git repository. To do the same thing in bazaar, you run: bzr ls --versioned --non-recursive How do I do this in git? 回答1: It would be more helpful if you described exactly what listing you want to show. Guessing from the bzr document, I imagine that you want something like this. git ls-tree --name-only HEAD This lists the names of files in the current directory which are currently in the HEAD revision, which should be close

Bazaar merge questions

眉间皱痕 提交于 2019-12-20 04:24:13
问题 Is it possible to merge only specific files and just copy the unselected files? I.E. i want to resolve conflict in all files except *.hex *.s19 and *.out. in those files i want to take the .THIS file always (for example) How i configure bazaar merge to be external and the builtin tool? i want to use the bcompare as my merge tool and not just as 4-way diff to resolve conflicts i'm using beyond comapre software for resolving conflicts after merge. Today i simply run the bcompare.exe and then

Submit bug fixes on launchpad through patches or merge proposals?

自古美人都是妖i 提交于 2019-12-18 13:14:02
问题 I'm new to Launchpad and Bazaar, and I'm trying to figure out what the best way is to submit bug fixes. I'm using some reasonably popular open-source software that's hosted on Launchpad, but it's not very stable. I've created my own branch of the project to stabilize it and apply just the bug fixes we need without adding other changes from ongoing development. When I file bugs and then figure out how to fix them myself, I push the fix to our stable branch. How should I publish the fix back to

Is there any distributed revision control system that supports partial checkout/clone?

*爱你&永不变心* 提交于 2019-12-17 18:19:48
问题 As far as I know all distributed revision control systems require you to clone the whole repository. For this reason is it not wise to put huge amounts of content into one single repository (thanks for this answer). I know that this a not a bug but a feature, but I wonder whether this is a requirement for all distributed revision control systems. In distributed rcs the history of a file (or a chunk of content) is a directed acyclic graph, so why can't you just clone this single DAG instead of

How to export a bazaar branch into a new subversion repository and then pull/push from it

做~自己de王妃 提交于 2019-12-14 01:30:00
问题 I've been working on a project, using Bazaar as a version control system. Now I have to work with people offshore, and they only want to use SVN. What I have: My bazaar branch with its files and revisions. A brand new subversion repository. What I want: My bazaar branch with its files and revisions. The subversion repo with the same files and revisions (includings dates and commit messages). Being able to pull / push from/to the SVN using bzr . I managed to copy the branch into the svn repo

What is branched in a repository?

﹥>﹥吖頭↗ 提交于 2019-12-13 14:52:01
问题 From what I understand of subversion if you have a repo that contains multiple projects, then you can branch individual projects within that repo (see SVN Red book - Using Branches) However what I don't quite follow is what happens when you create a branch in one of the distributed systems (Git, Hg, Bazaar - I don't think it matters which one). Can you branch just a sub-directory of the repo, or when you create the branch are you branching the entire repo? This question is part of a larger