version-control

Convert Git Repo to Darcs

天大地大妈咪最大 提交于 2019-12-12 07:46:21
问题 I would like to move a git repo I have to darcs. I have not been able to find docs or projects that explain how to do this; it looks like most users want to go the other way. In addition, being able to control a git repo from darcs would be cool to. 回答1: git fast-export darcs convert import 回答2: darcs-fastconvert has been updated to version 0.2 : http://lists.osuosl.org/pipermail/darcs-users/2010-November/025670.html I think this now is the safest way to do git <-> darcs bridging. 回答3: I'd

Is it possible to do a partial clone/branch with either bazaar, mercurial or git?

╄→尐↘猪︶ㄣ 提交于 2019-12-12 07:45:11
问题 Suppose I have a project in source control with a lot of subdirectories, many of which I don't need at the moment. I would like to create a working copy containing only some of the entire tree, which still maintaining the ability to make changes, commit them, and push them back up. Is this possible and if so, how can I do it? I'm still deciding whether to go with bazaar or mercurial, so answers regarding either of those would be helpful. Edit: Actually, solutions for git would be useful too.

Version control has me stumped

本秂侑毒 提交于 2019-12-12 07:38:05
问题 I've been developing websites for a few years now, and I've never had the time or energy to learn about version control. Now, as I start one of the bigger projects I've ever developed, I'm thinking of finally taking that plunge and using this as an opportunity to learn about version control. I've read a couple of brief descriptions and but I'm still having some trouble grasping the concepts of centralized versus decentralized version control. What are the differences? Advantages/disadvantages

How checkout source from Scala Trac?

情到浓时终转凉″ 提交于 2019-12-12 06:23:09
问题 This is ridiculous. I am trying to download some code from scala trac: http://lampsvn.epfl.ch/trac/scala/browser/scala-tool-support/trunk/src/vim How in the world do I find out which version control tool is used (SVN or git etc...) and what url to use to checkout/clone it? PS: Great - it also doesn't download the original file - unless I click on the tiny "Original file" link at the bottom. 回答1: Is there a reason to not use the official Github repo? You can download it with git clone https:/

xcode subversion settings to connect to network based repository

爱⌒轻易说出口 提交于 2019-12-12 06:14:14
问题 I know its not the right way to go about it but in this situation we only have 2 developers and need a quick repository setup. I have created a repository and placed it on a network server. The repository can be accessed by smb://192.168.0.99/Dev/MyApp/Repository In xcode repositories how do create a link to this repository. I have gone from SCM -> Repositories -> Created a Repository using the + button. Just cannot successfully connect to the repository on the network folder. Currently the

Update files from an exported Git repository offline

时光总嘲笑我的痴心妄想 提交于 2019-12-12 06:11:51
问题 Let me describe the scenario first and all of this needs to occur without connecting to the internet. A Windows method is preferred over Linux. A client has a version of our software that was hand delivered by CD. After a certain number of pushes are made on our repository, I would like for the client to receive these updates to the files without having to redeliver all the files. I would like to only have to deliver a copy of the repository and have git update their older files to the

Checkout a specific revision based on the commit date with JGit

99封情书 提交于 2019-12-12 06:07:13
问题 I want to use the Java JGit library in order to retrieve previously committed revisions of a file. The file gets updated on a daily basis and I need to have access to the previous versions from a git repository. I know how to checkout a specific revision by providing the commit hash of the revision I need, as described here with this command: git.checkout().setName( "<id-to-commit>" ).call(); Currently I clone the repository, search for the most recent commit of that file and then checkout

How to automate an update of a server copy of my remote repo?

我们两清 提交于 2019-12-12 05:48:52
问题 My workflow without version control GUI tools (like SourceTree, for example) is like this. I type it in command line. I have a local repo on my local machine. And I have a server (AWS EC2 instance) with a copy of my local repo. And I use Bitbucket for my remote repo. The first part (local, see code below) I do in my local machine. Then I connect my EC2 server using SSH and a command line and type the the second part, git fetch , get merge : # On local repo: $ git add . $ git commit -m "Commit

How can I synchronize project dependencies between developers?

谁说我不能喝 提交于 2019-12-12 05:48:20
问题 My team is starting a new Python project. We will be using Git with a central repository. Each developer will work on a local virtualenv, and push/pull from the central repo to the local one. Using this setting, here is a possible scenario: Developer A installs a package and writes some code that uses it. He/she pushes the code to the central repo. Developer B pulls the code and starts working. Developer B runs the project locally and gets an ImportError, because he/she hadn't installed the

Search mercurial repository for changes in a certain path

蹲街弑〆低调 提交于 2019-12-12 05:26:05
问题 I have a site developed using Yii framework, and I want to upgrade the framework from version 1.1.8 to 1.1.11. I have made framework modifications that went into 1.1.11, but others didn't and I don't remember exactly which ones they are. Is there a way to search for all the changes in a Mercurial repository made in a certain path? The framework sits in ./yiiframework directory. 回答1: You can pass a path to the hg log command: hg log path/to/foo 回答2: While @David answer is technically correct,