15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
22
from bzrlib.trace import mutter, note
23
from bzrlib.osutils import isdir, quotefn, compact_date, rand_bytes, splitpath, \
23
from bzrlib.osutils import isdir, quotefn, compact_date, rand_bytes, \
24
25
sha_file, appendpath, file_kind
26
27
from bzrlib.textui import show_status
28
32
BZR_BRANCH_FORMAT = "Bazaar-NG branch, format 0.0.4\n"
29
33
## TODO: Maybe include checks for common corruption of newlines, etc?
33
41
def find_branch(f, **args):
34
42
if f and (f.startswith('http://') or f.startswith('https://')):