/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to git-upload-pack

  • Committer: John Carr
  • Date: 2009-01-13 20:23:52 UTC
  • mto: (0.217.53 git-serve)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: john.carr@unrouted.co.uk-20090113202352-07tuqiobtpxtl3iq
Don't fill screen with muttering

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env python
2
2
import bzrlib
3
 
from bzrlib.plugin import load_plugins
4
 
load_plugins ()
5
3
from bzrlib.plugins.git.server import BzrBackend
6
4
from dulwich.server import UploadPackHandler
7
5
import sys, os, optparse
15
13
    print "usage: " + parser.usage
16
14
    sys.exit(1)
17
15
 
18
 
backend = BzrBackend(bzrlib.transport.get_transport(sys.argv[1]))
 
16
backend = BzrBackend(sys.argv[1])
19
17
 
20
18
def write_fn(data):
21
19
    sys.stdout.write(data)