version-control

Why Gerrit is accepting pushes, it can't handle?

旧街凉风 提交于 2019-12-11 20:29:01
问题 Following comments to this answer and information if Gerrit's docs. If adding proper refs is mandatory: git push gerrit HEAD:refs/for/master Then why Gerrit is accepting at all a push without them? After doing git push origin master with proper refs missing, push is accpeted (at Git level), but no change is created (at Gerrit level). User is ending up with a mess in code review system (can't merge non-existing change, can't push nothing else, because he or she is getting no changes reject)

Git on AWS CodeCommit Bare Repository [closed]

雨燕双飞 提交于 2019-12-11 20:13:38
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago . I was creating my first private repository and when I was cloning I noticed that the repository that amazon created does not have a .git extension,so, it's not a bare repository? Is it? Thanks. 回答1: AWS CodeCommit does not store remote repositories the same way as other git hosting providers. For

svk checksum mismatch

早过忘川 提交于 2019-12-11 19:14:41
问题 I've been using SVK without any issues the last 6 months. I then attempted to commit a file, when the following error occurred: %> svk commit -m "Message" foo/bar/file.txt Commit into mirrored path: merging back directly. Merging back to mirror source file:///usr/local/svn/repo. A checksum mismatch occurred: Base checksum mismatch on '/trunk/foo/bar/file.txt': expected: 9e421f7db5c4c0d6796c90524456d7f4 actual: ed4e76ccf3e54223908179735ecf1e89 Anyone know how to resolve this issue? 回答1: Just

VersionControlServer - Get latest version of file at a specific date/time

六眼飞鱼酱① 提交于 2019-12-11 18:40:04
问题 I have a program gets the latest version of files from a TFS server using the following code. TeamFoundationServer myTFS = TeamFoundationServerFactory.GetServer(myURL); VersionControlServer myVCS = (VersionControlServer)myTFS .GetService(typeof(VersionControlServer)); ItemSet downloadItems = myVCS.GetItems(myDirectory, RecursionType.Full); foreach (Item item in downloadItems.Items) { item.DownloadFile(myDownloadPath); } Instead of getting the latest version, I would like to be able to specify

Download only required solutions from workspace

喜夏-厌秋 提交于 2019-12-11 18:16:45
问题 I have a piece of code that sets up a work space and download files from tfs work space programmatically. I want to extend to specify what solutions can I download in that work space. Any ideas how I can do this? private GetStatus DownloadLatestFiles() { Workspace workspace = null; try { workspace = SetupWorkSpace(); workspace.Map(_repositoryCredentials.RepositoryProjectPath, _repositoryCredentials.WorkingDirectory); GetRequest request = new GetRequest(new ItemSpec(_repositoryCredentials

Migration to SVN, confused about deleting old files

爱⌒轻易说出口 提交于 2019-12-11 18:03:37
问题 I have a StarTeam repo that I'm trying to migrate to SVN. Unfortunately the repo is HUGE, so I can't use any of the polarion scripts, etc. I'm resorting to checking out snapshots of each release in StarTeam and then manually adding/committing them to SVN. However, I'm confused about what to do for old files. In StarTeam, we had to move deleted files to an "obsolete" folder since the purge command removed all copies of the file. I know that I don't need to do that in SVN, but how does SVN deal

Source control structure for prototype and real implementation

会有一股神秘感。 提交于 2019-12-11 17:58:02
问题 How should we structure a project in source control with prototype + 'real' implementation of the application? We work on a prototype for a new project and store that in source control (Subversion, but the question should be independent of that) with the following structure in our main repository with all our projects: [ProjectName]/ trunk/ src/ UIPrototype/ branches/ tags/ Along with an intern we work on design for the domain logic, and we plan to start implementation of the domain logic in

Should Django Migration (makemigrations) commited separately than creating model?

混江龙づ霸主 提交于 2019-12-11 17:55:39
问题 It's vague for me which strategy is better in Version controlling of django or any other web framework: Commit separately for creating model and running makemigrations . Commit both tasks together. I think myself first strategy is better, because of migration files which creating after running makemigrations . But I need to be sure which one in better. Is there any certain standard for this? 回答1: Both the strategies you list can work. But option one is better. You can commit Django Migration

Xcode Version control: fatal: cannot do a partial commit during a merge?

不羁的心 提交于 2019-12-11 17:54:42
问题 When using git with Xcode interface, I get the following error after pressing commit # Files and Push . The working copy “Project” failed to commit files. fatal: cannot do a partial commit during a merge. I am using Xcode's Source Control. I have looked here but have not found anything that resolves the issue for Xcode's Source Control. 回答1: This issue is because of some issue with git head. Try using source tree application to do the commit and push to the git. It will work. https://www

How can I get all the data types specific for a certain version of MS Access or/and every versions of MS Access?

半腔热情 提交于 2019-12-11 17:48:21
问题 I am trying to list data types from Microsoft Access 2000-2007 (depending on the MS Access database version) in a combobox for a C# program. I want my program to be capable of opening MS Access 2000-2007 databases. If I open a MS Access 2003 I wish my program to be capable of using the datatypes of any data specific to MS Access 2003 and list those data types in a combobox. If I open a MS Access 2007 database it will be for datatypes of any data for MS Access 2007... I was wondering if I