summaryrefslogtreecommitdiffstats
path: root/lib/redmine/scm/adapters/abstract_adapter.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-28 05:17:13 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-28 05:17:13 +0000
commit033214578fea303efdb6ee5eddc057e4275a6f3d (patch)
tree0b8297244496febcb4907ec170de2f9019bc084c /lib/redmine/scm/adapters/abstract_adapter.rb
parent9ff5c7034d66f739294af53c119170698d3591b5 (diff)
downloadredmine-033214578fea303efdb6ee5eddc057e4275a6f3d.tar.gz
redmine-033214578fea303efdb6ee5eddc057e4275a6f3d.zip
scm: lib: add Branch class to abstract adapter (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7670 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm/adapters/abstract_adapter.rb')
-rw-r--r--lib/redmine/scm/adapters/abstract_adapter.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb
index 1c172f342..4a425481c 100644
--- a/lib/redmine/scm/adapters/abstract_adapter.rb
+++ b/lib/redmine/scm/adapters/abstract_adapter.rb
@@ -376,6 +376,10 @@ module Redmine
lines.empty?
end
end
+
+ class Branch < String
+ attr_accessor :revision, :scmid
+ end
end
end
end