Giter VIP home page Giter VIP logo

git-tf's People

Contributors

gojan avatar nodirt avatar tkrajina avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

git-tf's Issues

Mac OSX Lion Terminal issue

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.

Crash before refactoring

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'

Workitem (git tf wi) is lost on pull

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.