Commit Graph

45 Commits

Author SHA1 Message Date
ivan.danilov-econ e74170291a Fix: Rcheckin ignores --no-build-default-comment option (during rcheckin of merge commit prevents including all comments from merged commits below original merge-commit comment in git) 2013-03-21 14:53:28 +02:00
Philippe Miossec 6e78b56d4d rcheckin --quick : reset current branch to tfs remote to be synchronized with tfs 2013-03-09 11:23:21 +01:00
Philippe Miossec 00a6e34d8c Add create Tfs branch option to branchcommand
+ other small refactoring
2013-02-03 22:17:58 +01:00
Philippe Miossec a334a57952 Add move and delete branch option to branchcommand
and add a DeleteTfsRemote() and MoveRemote() in GitRepository
2013-02-03 18:53:16 +01:00
Matt Burke bee409ed42 Fallout from those merge conflicts. 2013-01-09 16:58:05 -05:00
Matt Burke d062991eff Merge branch 'master' into refactor-to-functional-core
Conflicts:
	GitTfs/Commands/Init.cs
	GitTfs/Core/GitRepository.cs
	GitTfs/Core/GitTfsRemote.cs
	GitTfsTest/Integration/CloneTests.cs
	GitTfsTest/Integration/IntegrationHelper.cs
2013-01-09 15:39:59 -05:00
Sean M. Collins 5f3c7ae5eb Merge pull request #276 from pmiossec/add_notes_for_workitems
Add a note on the commit to keep trace of the workitems
2013-01-07 12:21:24 -08:00
Philippe Miossec a2e3184c21 Remove call to git command to set config (use libgit2sharp instead) 2013-01-06 23:30:39 +01:00
Philippe Miossec b5fb9b5b5b Add a note on the commit to keep trace of the workitems
Manage workitems when fetching changesets with adding a note with the workitems
displaying Id, title and a link to the workitem
2013-01-04 13:38:46 +01:00
Matt Burke 4d97b71542 Use a custom workspace, if desired. 2012-12-20 16:24:59 -05:00
Philippe Miossec 4d7e0f4125 Add a 'labels' command to get TFS labels of a branch
Synthaxe is similar to 'fetch' command with '-i' and '--all' options...
+ Add an option `--with-labels` to the 'fetch' command to get TFS labels when fetching TFS changesets
2012-12-15 13:45:04 +01:00
Matt Burke 2302a52b28 Use the ligit2 force. 2012-11-30 11:29:00 -05:00
Philippe Miossec da5a6201a5 Creation of the command "init-branch" to manage the cloning of a TFS branch (or all) from a TFS Server (2010, 2012 and 2008 partly)
Compiled for TFS Server 2008, 2010, 2012 and tested with TFS Server 2010, 2012

!! This command need that the clone of the TFS repository was made from the trunk (and not on the whole repository) and with history (not a quick-clone).

Usage for TFS 2010 and 2012 :
-------------------------------
* to clone one branch
git tfs init-branch $/Repository/path <git-branch-name-wished>
ex :
git tfs init-branch $/Repository/ProjectBranch
git tfs init-branch $/Repository/ProjectBranch myNewBranch

* to clone all branches
git tfs init-branch --all

Usage for TFS 2008 :
---------------------
* to clone one branch
git tfs init-branch--parent-branch=$/Repository/ProjectParentBranch $/Repository/path <git-branch-name-wished>

ex :
git tfs init-branch --parent-branch=$/Repository/ProjectParentBranch $/Repository/ProjectBranch
git tfs init-branch --parent-branch=$/Repository/ProjectParentBranch $/Repository/ProjectBranch myNewBranch
2012-11-19 22:03:42 +01:00
Matt Burke 6dd896eecd Unit tests for the configuration for a new tfs remote. 2012-10-16 13:53:13 -04:00
Collins, Sean 173001a836 Remove GetChangeSummary
It doesn't appear to be used anywhere.

Work for #144
2012-05-15 16:53:53 -04:00
Sean M. Collins 01293b3199 Refactor GetBlob
The name didn't really match what it does. Also, remove
the Copy function to save a function call.

This is part of the work required for #144
2012-05-15 16:53:52 -04:00
Sean M. Collins b208304afd Replace GitSharp.Core.ObjectWriter
Replace with libgit2sharp.Repository.ObjectDatabse
2012-05-15 16:53:51 -04:00
Matt Burke 37fb702606 Completed the unshelve spike. 2011-08-03 13:21:20 +03:00
ivan-danilov 59c491e570 Merge branch 'redundant-fetch' 2011-07-14 13:43:05 +03:00
ivan-danilov 49fc1b03cd Added remote options to bootstrap command (username, password etc) 2011-07-13 22:32:11 +03:00
ivan-danilov be4e399c7a Renamed GetParentTfsCommits -> GetLastParentTfsCommits for clarity 2011-07-08 23:51:43 +03:00
ivan-danilov 665ed2c846 Made fetch and bootstrap not only move tfs ref forward but updates untracked tags also 2011-07-08 23:30:35 +03:00
Matt Burke 4b41ebb123 Bootstrap needs to set the tfs remote's ref. [#51] 2011-06-16 16:35:29 -04:00
Matt Burke b18420dc36 dos2unix 2011-06-10 22:11:42 -04:00
Ryan Hansen e4f7b83844 Changed git-tfs pull command to throw a GitTfsException if there are local changes that have not been committed. This prevents Issue #25 from occurring. Also added an exception recommendation to stash changes and try pulling again. This is also a new unit test to validate this behavior. 2011-06-10 16:33:36 -06:00
James Dunne 2524dc2700 Removed need for TemporaryFile in downloading from TFS during quick-clone or clone. GetItems now passes includeDownloadInfo: true. 2011-03-15 12:39:28 -05:00
Richard Banks 78521599bd Default checkintool checkin comment.
* Add support for using the last git commit message as the default for the checkintool option
* Pull default checkin comment from all git commits pended to the checkin

Signed-off-by: Matt Burke <maburke@sep.com>
2011-03-04 10:23:56 -05:00
Matt Burke 1bd12c1ffe Fixed some file name casing issues. 2011-02-25 14:55:47 -05:00
Matt Burke 4e2c348a34 Only use the FakeTfsRemote when we need to. 2011-02-23 13:35:32 -05:00
Matt Burke aef3b3e12d Got bootstrap to work. 2011-02-23 10:06:21 -05:00
Matt Burke 4be96c3a45 Added a verify command. 2011-01-28 15:35:26 -05:00
Matt Burke 0bc16f555e Added a basic shelve implementation. 2009-09-08 14:18:02 -04:00
Matt Burke 6b00be05de Made a skeleton implementation of the Shelve command, and made the Shelve command more robust (i.e. handle multiple TFS parents). 2009-09-03 18:14:58 -04:00
Matt Burke 4b793b157f Implemented the shelve command (but not the actual shelving). Shuffled some other things around. 2009-09-03 14:26:18 -04:00
Matt Burke 82c1c00c3c Made git-tfs case-insensitive when fetching. 2009-08-11 10:01:06 -04:00
Matt Burke 5a0e1a50c6 Got my test repository to clone perfectly. :) 2009-07-29 12:05:12 -04:00
Matt Burke 0ab3ecab98 Got it to avoid refetching changesets it already has. 2009-07-16 14:17:08 -04:00
Matt Burke ad85636e58 A little refactoring, and got the TFS commits to show up in a remote branch. 2009-07-15 16:02:04 -04:00
Matt Burke 3983fbd7ba Implemented more of fetch. 2009-07-10 06:35:04 -04:00
Matt Burke 4f5ae6dddd Got a list of changesets from TFS. Need to figure out how to handle/initialize new remote branches. Need to actually apply the changes retrieved from TFS. Need to figure out what the last changeset was when doing a fetch to update an existing repository. 2009-07-07 12:45:23 -04:00
Matt Burke 6b5e48a38b Got fetch to the point where it needs to hit TFS. 2009-07-06 15:48:35 -04:00
Matt Burke 0bfcb72a35 Got the last two commits to compile. 2009-07-06 09:58:07 -04:00
Matt Burke 43f4207cc7 Started implementing fetch. 2009-07-02 16:37:30 -04:00
Matt Burke e3fd6fec39 Started implementing 'command_oneline'. 2009-07-02 08:51:07 -04:00
Matt Burke 07c99979b2 Ported init (minus the low-level git command invocations). 2009-06-30 14:40:06 -04:00