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

  • Committer: Joe Julian
  • Date: 2010-01-10 02:25:31 UTC
  • mto: (4634.119.7 2.0)
  • mto: This revision was merged to the branch mainline in revision 4959.
  • Revision ID: joe@julianfamily.org-20100110022531-wqk61rsagz8xsiga
Added MANIFEST.in to allow bdist_rpm to have all the required include files and tools. bdist_rpm will still fail to build correctly on some distributions due to a disttools bug http://bugs.python.org/issue644744

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python3
2
 
 
3
 
import breezy
4
 
import breezy.bzr
5
 
import breezy.git
6
 
from breezy.git.server import BzrBackend
7
 
from dulwich.server import UploadPackHandler, serve_command
8
 
import sys, os
9
 
 
10
 
if len(sys.argv) < 2:
11
 
    print("usage: %s <git-dir>" % os.path.basename(sys.argv[0]))
12
 
    sys.exit(1)
13
 
 
14
 
backend = BzrBackend(breezy.transport.get_transport("/"))
15
 
sys.exit(serve_command(UploadPackHandler, backend=backend))