Commit Graph

2146 Commits

Author SHA1 Message Date
Philippe Miossec baecc9df1c Since Libgit2sharp v0.23, NativeBinaries folder is no more needed 2017-04-13 00:34:06 +02:00
Philippe Miossec 73d756fc51 [For Test] Push artifact earlier 2017-04-13 00:34:06 +02:00
Philippe Miossec 5c20035dad Remaining of time where libgit2sharp was not a nuget package 2017-04-13 00:34:06 +02:00
Philippe Miossec d49218fa9b Useless 2017-04-13 00:34:06 +02:00
Philippe Miossec ab4ac0070b fix path toward libgit2 native binaries 2017-04-13 00:34:06 +02:00
Philippe Miossec 7aaa6b2933 Update Libgit2sharp to 0.23.1 2017-04-13 00:34:06 +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
Constantin Makshin 05c2c727b4 Fix handling of the up-to changeset ID value
Replace the "upToChangeSet > 0" with "upToChangeSet != -1" for
consistency with other code.
2017-04-11 08:07:26 +03:00
Matt Burke ↺ bcb60f290c Merge pull request #1061 from josteink/typo
Fix typos in documentation.
2017-04-10 17:32:54 -04:00
Jostein Kjønigsen 9ec2063468 Fix typos in documentation. 2017-04-10 08:27:31 +02:00
Constantin Makshin 3a7894bc6b Allow both initial and up-to changeset IDs 2017-04-06 08:22:34 +03:00
Jerzy Mansarliński aabc531169 Add missing "--up-to" option description in clone.md (#1041) 2017-01-22 18:59:51 +01:00
Philippe Miossec 1fca005953 fix the trigger to invalidate AppVeyor packages cache 2016-12-26 21:48:50 +01:00
Philippe Miossec c18b0c8576 fix duplicate x86 config that cause problems 2016-12-26 17:13:47 +01:00
Philippe Miossec 129aa55428 Merge pull request #1037 from pmiossec/fix_x86_build_configuration
Fix x86 build configuration
2016-12-26 15:08:50 +01:00
Philippe Miossec 41f7ca8513 Remove useless reference to a vsmdi file 2016-12-26 14:48:01 +01:00
Philippe Miossec dc43a8180c Convert all projects Configuration to x86
Fix warnings and problems introduced by #1019
(Test assembly was no more loadable by the xunit console runner on my computer)

and update build file to build in x86
2016-12-26 14:48:01 +01:00
Philippe Miossec d29041b956 fix libgit2sharp warning on obsolete property 2016-12-26 14:05:03 +01:00
Matt Burke 15656e3c2c Merge pull request #1028 from chijos/shelve-delete
Add shelve-delete command
2016-12-15 17:35:34 -05:00
Chirag Joshi 23df15583c Add documentation for shelve-delete 2016-12-10 15:00:42 +11:00
Chirag Joshi f6012d7870 Add new shelve-delete command 2016-12-10 15:00:23 +11:00
Chirag Joshi 0709700d0b Add GitTfsRemote method to delete shelveset 2016-12-10 11:05:18 +11:00
Chirag Joshi 2a0aac8096 Add TfsWorkspace method to delete shelveset 2016-12-10 11:05:10 +11:00
Chirag Joshi c5dddb5833 Add TfsHelper method to delete shelveset 2016-12-10 11:04:59 +11:00
Jud White 49517f6067 clone.md: fix typos (#1026) 2016-12-08 10:38:50 +01:00
Matt Burke daf8223811 Merge pull request #1025 from kcaswick/patch-1
Simplify unix commands in clone instructions
2016-12-07 18:13:24 -05: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 d5923f7a13 Merge pull request #1019 from Blackbaud-JasonTremper/patch-1
Build git-tfs as x86
2016-11-19 00:45:53 +01:00
Blackbaud-JasonTremper 8a50e22b9d Build git-tfs as x86
When git-tfs is built as AnyCPU, it is unable to access checkin policy DLLs that are built as x86 when run on a x64 machine. Since checkin policy DLLs can only be x86 or AnyCPU (Visual Studio is x86 only), then making git-tfs x86 allows it to support all dlls that Visual Studio supports.
2016-11-18 16:17:16 -05:00
Philippe Miossec ea2ac37179 improve github issue and pull requests templates 2016-11-13 13:17:49 +01:00
Philippe Miossec a8f685d519 Merge pull request #1017 from fourpastmidnight/feature/improve-detection-of-branch-point-changeset
Improve branch point changeset detection
2016-11-13 13:01:27 +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 09621eb8a8 Merge pull request #897 from pmiossec/add_gitignore_support
Add .gitignore support when cloning a tfs repository
2016-10-31 16:47:44 +01:00
Philippe Miossec d55aa4d209 Merge pull request #1014 from pmiossec/update_readme
Update readme
2016-10-31 16:38:26 +01: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 7f26828532 No need to update website and README.md anymore 2016-10-31 16:26:03 +01:00
Philippe Miossec 7d375ea602 Remove TeamCity build because it will always fails now... 2016-10-31 16:20:49 +01:00
git-tfs user for merge in unit tests 41c3b87362 Update README.md to always get the last version displayed automatically 2016-10-31 16:19:12 +01:00
Philippe Miossec 117b8d4c22 Merge pull request #1007 from pmiossec/follow_chocolatey_guidelines
Follow chocolatey guidelines
2016-10-31 16:11:16 +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 28aa548219 Remove deprecated calls to chocolatey functions
+ remove no more needed try/catch
https://github.com/chocolatey/choco/wiki/HelpersReference#error--success-functions
2016-10-31 15:59:08 +01:00
Philippe Miossec 17da90fa06 Add an uninstall script 2016-10-31 15:59:08 +01:00
Philippe Miossec 4c4bcbd0fc Specify a git minimal version 2016-10-31 15:59:08 +01:00
Philippe Miossec 475539ab18 Merge pull request #1011 from pmiossec/paket_magic_mode
Use paket in "magic mode"
2016-10-31 15:53:22 +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 5d8f8283d8 Merge pull request #1013 from pmiossec/cleaning_renaming
Cleaning renaming
2016-10-31 15:34:30 +01:00
Philippe Miossec ffb194b23a Paket: Add auto detect framework used (much less noise!)
+ No need to fix version in the paket.dependencies (until we detect a problem!)
2016-10-31 15:15:08 +01:00