Skip to content

Commit

Permalink
Fixed tag tests. Working on #191
Browse files Browse the repository at this point in the history
  • Loading branch information
npasserini committed Oct 25, 2016
1 parent 5fc9d42 commit c0a180f
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
walk definition
uptoBranches: branches
^ branches do: [ :branch | self uptoBranch: branch ]
5 changes: 4 additions & 1 deletion Iceberg.package/IceBranch.class/instance/ownCommits.st
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
commits
ownCommits
"Return the commits that are only in this branch."
^ self backend commitsOnlyIn: self name
^ self repository newCommitWalk
fromBranch: self;
uptoBranches: self repository localBranches;
commits.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
querying
localBranches
^ (self command: 'branch') lines
reject: [ :line | line matchesRegex: '\* \(detached from (.*)\)' ]
thenCollect: [ :line | IceBranch named: (line allButFirst: 2) inRepository: self frontend ]

This file was deleted.

3 changes: 3 additions & 0 deletions Iceberg.package/IceRepository.class/instance/localBranches.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
querying
localBranches
^ self backend localBranches

0 comments on commit c0a180f

Please sign in to comment.