TF26198 error when doing git tfs rcheckin -
we use tfs 2010 @ work, , use git-tfs can use git locally. i've upgraded machine, , copied local repository folders across.
i seem able pull tfs , commit locally. when git tfs rcheckin
, error:
tf26198: work item not exist, or not have permission access it.
it work when using git tfs checkintool
.
i presumed getting error because original git tfs clone
done on computer. reading git-tfs docs, sounds should doing git clone
old machine (rather copy), git tfs bootstrap
. however, when trying this, still same error.
any ideas causing this? other difference can think of old machine has vs2010 , vs2012 installed, whereas new machine has vs2012 installed.
git-tfs parses commit comments provide work item associations changesets. default, if enter #1234
, git-tfs checkin
, rcheckin
commands attempt associate work item 1234 checkin.
if using #1234
in commit messages in order associate these different bug tracking system, in conflict. in particular case, git-tfs
cannot find tfs work item , providing message.
as of recently, can provide configuration value:
git-tfs.work-item-regex
in order override #1234
behavior. while there no way disable functionality, can set unlikely conflict with. example:
git-tfs.work-item-regex=tfs work item:(?<item_id>\d+)
Comments
Post a Comment