dvcs

Local branches show-up on GitHub's “Network” view

南楼画角 提交于 2019-12-21 22:17:22
问题 We are using Git and our workflow consists of a 'dev' and 'master' branch which lives on GitHub and each developer's local repository. No work is performed directly on 'master' or 'dev', but rather in local branches and only merges happen on 'dev' and later with 'master'. We do not push local branches to GitHub. For some reason developers' local branches show up in the "Network" view on GitHub and this clutters up the network diagram (I should point out that the branch itself doesn't exist

How do I keep my branches up to date with the 'default' branch under Mercurial?

六眼飞鱼酱① 提交于 2019-12-21 22:04:21
问题 Let's say I have the following workflow with Mercurial: stable (clone on server) default (branch) development (clone on server) default (branch) bugs (branch) developer1 (clone on local machine) developer2 (clone on local machine) developer3 (clone on local machine) feature1 (branch) developer3 (clone on local machine) feature2 (branch) developer1 (clone on local machine) developer2 (clone on local machine) My main line of development which is always in a release ready state is 'default'. So

Mercurial showing files as modified incorrectly

故事扮演 提交于 2019-12-21 12:17:47
问题 When I clone out a Mercurial repository it usually shows files as being modified when they have not. This can happen when I do the following steps; $ hg clone <url> $ cd project $ hg st .... large number of files with M at the start for modified $ hg diff .... no result. I think this is because the files have had their permissions changed in the process so it seems like the files are different since hg doesn't actually do a diff on each file when hg st is used. I know this can happen in git

Splicing over discontinuities in Mercurial repository timeline

二次信任 提交于 2019-12-21 11:34:54
问题 I converted a Subversion repository to Mercurial a few months back and I wound up leaving two meaningless gaps in my revision history. I'm trying to figure out if I can just splice over the gaps, but I haven't been able to get the tools to do precisely what I want. I had reorganized the Subversion repo twice in the early days of the project: first to convert a single project root to trunk/branches/tags layout, and then to add a second related project in a second root folder with it's own

Branching in Mercurial

安稳与你 提交于 2019-12-21 10:18:45
问题 I have starting using Mercurial for my (our) versioning needs. I have now come to the point that I need to create a feature branch. However, now that I have started working on it -- and I try to push my changes, I keep getting a warning about new remote heads. That's stupid, I know that there will be new remote head(s) that's what a branch after all is? How am I supposed to create branches and push them without this problem, without using force push as it is surely not the right way to go,

Branching in Mercurial

心不动则不痛 提交于 2019-12-21 10:16:29
问题 I have starting using Mercurial for my (our) versioning needs. I have now come to the point that I need to create a feature branch. However, now that I have started working on it -- and I try to push my changes, I keep getting a warning about new remote heads. That's stupid, I know that there will be new remote head(s) that's what a branch after all is? How am I supposed to create branches and push them without this problem, without using force push as it is surely not the right way to go,

Distributed version control for HUGE projects - is it feasible?

柔情痞子 提交于 2019-12-21 07:53:35
问题 We're pretty happy with SVN right now, but Joel's tutorial intrigued me. So I was wondering - would it be feasible in our situation too? The thing is - our SVN repository is HUGE. The software itself has a 15 years old legacy and has survived several different source control systems already. There are over 68,000 revisions (changesets), the source itself takes up over 100MB and I cant even begin to guess how many GB the whole repository consumes. The problem then is simple - a clone of the

Distributed version control for HUGE projects - is it feasible?

不羁岁月 提交于 2019-12-21 07:51:01
问题 We're pretty happy with SVN right now, but Joel's tutorial intrigued me. So I was wondering - would it be feasible in our situation too? The thing is - our SVN repository is HUGE. The software itself has a 15 years old legacy and has survived several different source control systems already. There are over 68,000 revisions (changesets), the source itself takes up over 100MB and I cant even begin to guess how many GB the whole repository consumes. The problem then is simple - a clone of the

Git push complaining about non-fast-forward, even though remote has been pulled

夙愿已清 提交于 2019-12-21 05:19:14
问题 I'm trying to push my changes to a repo on my NAS. It's failing in a way I don't understand. The documentation states that by default push works only with fast-forward updates. Fair enough. So I do a git pull (my remote is called rubix ): D:\RoboCup\Dev\TinMan>git pull rubix master From ssh://rubix/volume1/git/TinMan * branch master -> FETCH_HEAD Already up-to-date. All looks well. Let's try pushing... D:\RoboCup\Dev\TinMan>git push rubix master To ssh://dnoakes@rubix/volume1/git/TinMan !

In git, what are some good conventions to format multiple comments to a single commit

*爱你&永不变心* 提交于 2019-12-21 04:58:43
问题 I was wondering how people normally separate out the multiple comments in a single commit. Stars? Commas? Separate lines? Just wondering what you find to be the best. I'm using this now when I add comments via Emacs, but not sure I like it: Added error messaging Cleaned up sign-up UI Added recaptcha # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # Committer: Conrad Chu <chuboy@conradlaptop.local> # # On