Skip to content

[Stalled] FindCommitByChangesetId should look in a specific Tfs branch #793

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pmiossec
Copy link
Member

Should be the first step toward fixing #769...

Tests appreciated ;)

cc @gufi

@@ -43,7 +43,8 @@ public int Run(string id)
long changesetId;
if(!long.TryParse(id, out changesetId))
throw new GitTfsException("error: wrong format for changeset id...");
var sha = _globals.Repository.FindCommitHashByChangesetId(changesetId);
//TODO
var sha = _globals.Repository.FindCommitHashByChangesetId(changesetId, "TODO");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to find a solution for that...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make FindCommitsByChangesetId, which will find all matching commits on ALL branches (remove c.Message.Contains(tfsPath) and show warning or prompt to the user if there are more than one commit/branch.

@hazzik
Copy link
Contributor

hazzik commented Jun 19, 2015

I've created a pull request with TODO resolution pmiossec#9

@pmiossec pmiossec force-pushed the find_commit_in_specific_branch branch from 2c83d23 to 20b364c Compare June 24, 2015 07:04
@pmiossec pmiossec changed the title FindCommitByChangesetId should look in a specific Tfs branch [Stalled] FindCommitByChangesetId should look in a specific Tfs branch Jul 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants