/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Jelmer Vernooij
  • Date: 2006-05-20 19:47:46 UTC
  • mto: This revision was merged to the branch mainline in revision 58.
  • Revision ID: jelmer@samba.org-20060520194746-31898179fcd06ddd
Implement simple command for cloning branches

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
            if str(e) == "could not open display":
38
38
                raise NoDisplayError
39
39
 
40
 
        from clone import GCloneDialog
 
40
        from clone import CloneDialog
41
41
 
42
 
        window = GCloneDialog()
 
42
        window = CloneDialog()
43
43
        if window.run() == gtk.RESPONSE_OK:
44
 
            print window.url
45
 
            print window.dest_path
 
44
            bzrdir = BzrDir.open(window.url)
 
45
            bzrdir.sprout(window.dest_path)
46
46
 
47
47
register_command(cmd_gbranch)
48
48