~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to bzrtools.py

  • Committer: Aaron Bentley
  • Date: 2005-11-10 21:04:19 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20051110210419-a402638d94693825
Handled whitespace branch names better

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    >>> file(fooname, "wb").write("bar")
44
44
    >>> is_clean(br)
45
45
    (True, [u'foo'])
46
 
    >>> br.working_tree().add(["foo"])
 
46
    >>> bzrlib.add.smart_add_branch(br, [br.base])
 
47
    1
47
48
    >>> is_clean(br)
48
49
    (False, [])
49
 
    >>> br.working_tree().commit("added file")
 
50
    >>> br.commit("added file")
50
51
    >>> is_clean(br)
51
52
    (True, [])
52
53
    >>> rm_branch(br)