/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: Gustav Hartvigsson
  • Date: 2021-01-09 21:36:27 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20210109213627-h1xwcutzy9m7a99b
Added 'Case Preserving Working Tree Use Cases' from Canonical Wiki

* Addod a page from the Canonical Bazaar wiki
  with information on the scmeatics of case
  perserving filesystems an a case insensitive
  filesystem works.
  
  * Needs re-work, but this will do as it is the
    same inforamoton as what was on the linked
    page in the currint documentation.

Show diffs side-by-side

added added

removed removed

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