~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to unshelve

  • Committer: Michael Ellerman
  • Date: 2005-10-25 14:00:28 UTC
  • mto: (0.3.1 shelf-dev) (325.1.2 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 246.
  • Revision ID: michael@ellerman.id.au-20051025140028-78a0a8a4cf86cf97
Remove x bit from diffstat.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
2
 
 
3
 
import sys
4
 
import shelf
5
 
 
6
 
def main(args):
7
 
    finished = shelf.parse_args(args)
8
 
 
9
 
    if finished:
10
 
        return True
11
 
    else:
12
 
        return shelf.unshelve()
13
 
 
14
 
if __name__ == '__main__':
15
 
    sys.exit(main(sys.argv) and 0 or 1)