/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 bzr-upload-pack

  • Committer: Jelmer Vernooij
  • Date: 2009-04-02 16:10:24 UTC
  • mto: (0.200.326 trunk)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@samba.org-20090402161024-ngoay3s4mpsq5pts
Add -Dverify flag (not fully implemented yet).

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)