Commit Graph

206 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 a6d91d7bfb Remove "Sep." prefix everywhere.... 2017-10-15 00:12:57 +02: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
ascire d4ae6b5d74 Updated synopsis to match program help output. (#1095)
* Updated synopsis to match program help output.

* Undo removal of "where options are:" line
2017-09-13 23:23:40 +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
Matt Burke ↺ 87b25a0f65 Merge pull request #1057 from cmakshin/changeset-id-range
Allow both initial and up-to changeset IDs
2017-04-11 17:26:32 -04:00
Constantin Makshin 6739b10f63 Update release notes 2017-04-11 08:17:56 +03:00
Jostein Kjønigsen 9ec2063468 Fix typos in documentation. 2017-04-10 08:27:31 +02:00
Jerzy Mansarliński aabc531169 Add missing "--up-to" option description in clone.md (#1041) 2017-01-22 18:59:51 +01:00
Chirag Joshi 23df15583c Add documentation for shelve-delete 2016-12-10 15:00:42 +11:00
Jud White 49517f6067 clone.md: fix typos (#1026) 2016-12-08 10:38:50 +01:00
Kevin 727ac33955 Simplify unix commands in clone instructions
* Switch from cut to awk to separate out login by whitespace instead of having to get columns exactly right.
* Replace cumbersome uniq | sort | uniq with simpler but equivalent sort -u
2016-12-07 15:37:36 -06:00
Philippe Miossec 519b403de9 Help: give more options on how to retrieve the Tfs history
especially when git-tfs fails to retrieve the history :(
2016-12-06 00:46:00 +01: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 0ba7230f50 Add a logo for Git-tfs. Yeah!!!
* use it in chocolatey package
* git-tfs_logo.pdn is the original file in paint.net format
http://www.getpaint.net/index.html
2016-10-31 15:59:08 +01:00
Philippe Miossec 0f763482bc Use paket in "magic mode"
(`paket.boostrap.exe` renamed in `paket.exe` giving him a special behavior!)
https://fsprojects.github.io/Paket/bootstrapper.html#Magic-mode

- to easy use of paket
- to have paket always up to date (it verify every 12 hours)
2016-10-31 15:46:01 +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
Magnus Markling e1719a463d Update batch-size documentation (#1003)
* Fix grammar error in Fetch.cs.

* Add batch-size option to fetch.md.

* Fix grammar error and indenting in clone.md.
2016-10-11 23:31:43 +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
Paul Rohorzka 5b4236fe85 Made inline workitem feature stand out more (#987)
Since I first overlooked this simple but helpful feature, this is a proposal to make it more prominent on the page.
2016-08-29 11:57:59 +02:00
Philippe Miossec f646c8a781 Some paket doc 2016-07-30 01:48:43 +02: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
NathanLBCooper a7adafa261 Automatically Associate work items with a shelve command. 2016-02-05 22:21:02 +00:00
Vincent BIRET 823b5910f7 inverting quotes for sed related commands
the way the sed commands were documented caused a fatal: bad revision because sed wasn't interpreting quotes properly on windows
2016-01-08 16:14:34 -05:00