nodirt / git-tf Goto Github PK
View Code? Open in Web Editor NEWSimple two-way Git-TFS bridge
License: Apache License 2.0
Simple two-way Git-TFS bridge
License: Apache License 2.0
I am on Mac OS X Lion 10.7.5 (11G63b). When I use git-tf and accidentally put a wrong username in, the obvious action is to use ctrl+c to cancel out of the operation. This works and gives me a fresh command prompt, but unfortunately at this point I cannot type anything into the terminal. I can type ctrl+c multiple times to seemingly get fresh prompts, but still cannot type anything. The only way around is to close the Terminal (or tab) and start with a fresh Terminal window altogether.
Hi.
I'm getting an exception for git tf pull
with the last version. The error seams something simple, here is the console output:
$ git tf pull
Checking TFS status. There must be no pending changes...
Fetching from TFS
Last synchronized changeset: 283385
Latest changeset on TFS: 283442
Requesting tf history 283385..283442
Traceback (most recent call last):
File "/Users/Bruno/bin/git-tf", line 24, in <module>
GitTfException.run(main)
File "/Users/Bruno/bin/core.py", line 189, in run
return body()
File "/Users/Bruno/bin/git-tf", line 19, in main
return runpy.run_module(command, run_name='__main__')
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/runpy.py", line 178, in run_module
fname, loader, pkg_name)
File "/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/runpy.py", line 73, in _run_code
exec(code, run_globals)
File "/Users/Bruno/bin/pull.py", line 17, in <module>
App.run(pull)
File "/Users/Bruno/bin/core.py", line 152, in run
return GitTfException.run(_run)
File "/Users/Bruno/bin/core.py", line 189, in run
return body()
File "/Users/Bruno/bin/core.py", line 151, in _run
body(app)
File "/Users/Bruno/bin/pull.py", line 6, in pull
if fetch(app) or git('log master..tfs'):
File "/Users/Bruno/bin/fetch.py", line 25, in fetch
history = history[:app.number]
AttributeError: 'NoneType' object has no attribute 'number'
When a commit is marked with a workitem with git tf wi
the note that's hold the value is lost because is not copied to the new commit created as consequence of the rebase that happen in git tf pull
To fix this issue the value for the config variable notes.rewriteRef must be setup with the value refs/notes/tf
I test this fix and works fine. I'm not sure what is the correct way to set this value so I create this issue.
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.