• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tgbugs / augpathlib / 120 / 2
47%
master: 47%

Build:
DEFAULT BRANCH: master
Ran 08 May 2020 02:16AM UTC
Files 9
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 May 2020 02:09AM UTC coverage: 44.273% (+0.5%) from 43.748%
PIPENV_VENV_IN_PROJECT=1 PIPENV_IGNORE_VIRTUALENVS=1

push

travis-ci

tgbugs
first pass at a context manager for git.Reference

this makes it possible to write

with repo.getRef('branch'):
   "do something"

and the git repo will be returned to the exact state that it was in
before the context manager was called

this is implemented using two calls to git stash --all and is
currently missing a check to make sure that stash@{1} is in fact that
stashed state that we came from, this implementation is also probably
broken because when returning to the original branch we should
probably make sure that we reset the head to the exact ref the repo
was at when we entered instead of just to the ref so that if some
other process adds a commit on the original branch the stash will
still apply correctly, if the ref has changed we should probably log
a warning to indicate that the original branch has changed while we
were away and to check the reflog to see what is going on

1202 of 2715 relevant lines covered (44.27%)

0.44 hits per line

Source Files on job 120.2 (PIPENV_VENV_IN_PROJECT=1 PIPENV_IGNORE_VIRTUALENVS=1)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 79
  • Travis Job 120.2
  • 0b1135fc on github
  • Prev Job for PIPENV_VENV_IN_PROJECT=1 PIPENV_IGNORE_VIRTUALENVS=1 on master (#119.2)
  • Next Job for PIPENV_VENV_IN_PROJECT=1 PIPENV_IGNORE_VIRTUALENVS=1 on master (#123.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc