Commit Graph

98 Commits

Author SHA1 Message Date
Philippe Miossec ba55b655c3 Pick up labels that don't specifically have the branch folder listed. Fixes #1125. 2018-03-02 14:11:15 +01:00
Git-tfs release bot 1c086c4d35 Prepare release v0.28 2018-01-28 17:46:54 +00:00
Philippe Miossec 8addcfa7e4 forgotten release note 2018-01-28 18:36:44 +01:00
Philippe Miossec 81bb9de628 Update release note and doc 2018-01-27 13:21:51 +01:00
Philippe Miossec 825fd51985 doc on enabling Checkin policies support 2017-11-30 01:34:34 +01:00
Andy Gurden 57708cfcd3 Initialize remote for export where needed whenever they are read from the repository. Fixes #1123 2017-11-07 19:34:16 +00:00
Philippe Miossec 67322590c2 Moving source in the 'src' folder
to respect .net conventions....
2017-10-14 13:55:51 +02:00
Git-tfs release bot 462eb4ff6e Prepare release v0.27 2017-10-10 23:01:11 +00:00
andyrooger 3ffd41b35a Copy export settings to new branches. Potentially closes #975 (#1097) 2017-10-10 21:40:28 +02:00
Matt Burke 8305ceae8d fix up 2017-09-13 08:36:20 -04:00
Sijmen Mulder a9942647b7 Add xcopy fix to release notes 2017-09-07 11:25:26 +02:00
Peter Dolkens e0d9de0e6d Prevent an infinite loop that was occurring when a Merge failed due to missing parent commit (#1077) 2017-06-14 23:44:47 +02:00
leftler 3e23189491 Added a TraceWarning when the authors file fails to copy. (#1072)
This is a partial fix for issue #1071, now a TraceWarning message will be displayed when the file fails to copy.
2017-06-05 00:03:58 +02:00
Constantin Makshin 6739b10f63 Update release notes 2017-04-11 08:17:56 +03:00
Chirag Joshi 23df15583c Add documentation for shelve-delete 2016-12-10 15:00:42 +11:00
Philippe Miossec 0b3b4f0965 NEXT.md : keep the format of release note 2016-11-13 12:46:06 +01:00
Craig E. Shea 334a040e98 Improve branch point changeset detection
@jeremy-sylvis-tmg is the original author of this commit. He originally
issued Pull Request #973. However, a code review was performed by myself
and @pmiossec whereby changes were requested. Unfortunately, the author of
the pull request declined to make the requested changes due to time
constraints.

Because the changes implemented in this commit could potentially solve a
long outstanding problem in how git-tfs currently detects branch point
changeset detection, I have recreated this commit with the requested
changes.

Basically, this commit allows gits-tfs to properly clone a TFS branch into
a git repository when the branch was first created as a folder, deleted,
and subsequently created as an actual TFS branch:

   *--C1--C2--C3--C4(X)--*--*--*
	            \
		     C5(?)--*--*

In the diagram above, a folder would be created at C3 called 'Branch'. At
C4, it was determined that either C3 was a mistake, or simply that a true
TFS branch was desired as opposed to a TFS folder. So at C4, the folder
named 'Branch' is deleted. At C5, an actual TFS branch called 'Branch' is
created, and C5 is the first changeset on TFS branch 'Branch'.

Prior to this commit, Git-Tfs would get "confused" because branches and
folder in TFS are similar, but not the same--and there's no analogue in
Git whatsoever. The branch 'Branch' usually fails to clone properly, and
IIRC, you'll get messages such as "Could not find parent changeset for
branch 'Branch'". In my experience, providing a parent changeset ID does
not always resolve the situation satisfactorily.

The changes in this commit detect this situation. At C3, it detects that a
folder was created, called 'Branch'. TFS folders are not branches, and so
this commit causes git-tfs to keep searching through TFS history for the
most recent branch point. So, when the folder named 'Branch' is deleted at
C4, git-tfs will continue to search for merge history, which it finds at
C5, where the TFS branch named 'Branch' is created. This is a true branch
point off of the main line. Because C3 and C4 effectively "cancel" each
other out, the resulting Git history after cloning this TFS repository
history looks like the following (NOTE: this author is unsure how git-tfs
represents commits C3 and C4 in the commit history of a Git repository
since Git has no concept of "folders"):

    *--C1--C2--C3--C4(X)--*--*
            \
	     C5--*--*

NOTE: This commit does add some methods to an interface. As such, the next
version of Git-TFS should have it's minor version incremented; e.g. the
next version of Git-Tfs released containing this commit should be in the
0.26.x series.

Signed-off-by: Craig E. Shea <craig.e.shea@gmail.com>
2016-11-12 20:46:14 -05:00
Philippe Miossec 904ae3dce0 Add .gitignore support when cloning a tfs repository
by:
* committing (as a first commit in the repository) a .gitignore file based on an external template
* preventing an ignored file to be downloaded
* make it works with `init` + `fetch` and `clone` commands
2016-10-31 16:35:33 +01:00
Philippe Miossec 7fefecb5e3 Update release note 2016-10-18 21:22:57 +02:00
Edwin Engelen 7452301ced Export custom TFS check-in notes to commit message (#1004) 2016-10-13 14:26:50 +02:00
Matt Burke 41689fe9f4 Rename these so that there's only one pattern 2016-10-03 10:40:55 -04:00
Matt Burke eed8bc1c78 0.25.1 release notes 2016-10-03 10:11:08 -04:00
Kim Gybels 098ed1ddcb Update NEXT.md 2016-09-28 15:37:23 +02:00
Matt Burke 523c6a597f Update NEXT.md 2016-09-05 09:36:59 -04:00
Craig E. Shea 0f2d2aff0d Update NEXT.md
Update NEXT.md to indicate the additional changes to be released in the next version of git-tfs.
2016-07-28 20:04:52 -04:00
Matt Burke b45aecd82e Add #967 2016-05-14 06:48:10 -04:00
NathanLBCooper a8995627a4 Fix -m for Shelve command, broken by PR #912 2016-04-01 11:29:55 +01:00
Tim Abell 308b0c7661 bloody crlf 2016-03-29 20:33:42 +01:00
Matt Burke 36b132d7ca Update NEXT.md 2016-03-29 11:13:40 -04:00
Matt Burke a50c51e60e Release notes for 0.25.0 2016-03-05 08:09:12 -05:00
Matt Burke c0d874081e Update release notes 2016-03-05 07:29:41 -05:00
Michael Naumov bb30620533 Calculate comment for checkin command
fix #828
2016-02-17 00:36:58 +01:00
Philippe Miossec e9d97a9cea Refactor branch option to be more consistent
Now, we have 3 options for the `clone` and `fetch` commands:
--branches=none: Ignore branches and merge changesets, fetching only the clone tfs path
--branches=auto:(default) Manage merged changesets and initialize the merged branches
--branches=all: Manage merged changesets and initialize all the branches during the clone

+ clean and improve the doc
2016-02-17 00:00:33 +01:00
Philippe Miossec d8313fb748 commit release file that messing my repository 2016-02-16 23:42:10 +01:00
Nathan Cooper 49ff9df929 Associate work items and shelving, release notes 2016-02-05 22:47:35 +00:00
Matt Burke 1cc686808a 0.24.2 release notes 2016-01-04 10:53:43 -05:00
Matt Burke 4e73ed009f Update release notes 2016-01-04 10:37:41 -05:00
Philippe Miossec a2c9d60754 Refactoring... 2015-12-23 18:29:39 +01:00
David Shireman 129a5286c0 Fixed RemoteOptions Integration With RemoteInfo
- Updated RemoteInfo so that properties are correctly set/retrieved when interacting with the RemoteOptions property
 - Added some unit test to check for expected functionality
 - Updated NEXT.md
2015-12-17 08:32:41 -06:00
Matt Burke 47656fab1d v0.24.1 release notes 2015-12-11 21:55:17 -05:00
Matt Burke 6b80b5d143 Update release notes 2015-12-08 15:09:34 -05:00
Matt Burke 3b7532775c Update release notes for v0.24.0 2015-12-07 09:54:45 -05:00
Philippe Miossec 1503799f42 Update release note 2015-10-30 00:13:41 +01:00
Philippe Miossec 34a0b5445f Always display the git errors to help git-tfs users
See problem describe here: https://mgrowan.wordpress.com/2015/05/06/git-tfs-pull-command-exited-with-error-code-128/

Include stderr of the git command run in GitCommandExceptions

(All job done by @spraint ;) )
2015-10-04 16:55:57 +02:00
Philippe Miossec 7d7db9b53d Add release note 2015-09-24 22:32:10 +02:00
Matt Burke 3a30558740 Make 0.23.0 release notes 2015-09-21 15:18:14 -04:00
Philippe Miossec c4ad0d3a36 Better display tfs path of the remote we are working on... 2015-08-17 19:40:23 +02:00
Philippe Miossec 8414ac5740 Gated check-in support
by triggering a build when a check-in is rejected due to a gated check-in
2015-08-17 19:08:49 +02:00
Philippe Miossec 2eca9539a3 Fix Releasing 2015-08-05 17:54:46 +02:00
Philippe Miossec aa401d330d update release note 2015-07-19 01:59:39 +02:00