summaryrefslogtreecommitdiff
path: root/tool/lib/vcs.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2022-09-29 17:31:39 +0900
committerNobuyoshi Nakada <[email protected]>2022-09-30 09:21:02 +0900
commit58b3a535cc899760aa69055fa54f4fcb85570dcd ()
tree192e5b68720de09439e6ab2314d0cbbaeded4e4d /tool/lib/vcs.rb
parentaa490f9442c32cd0e1e449ac817f410bd5924c8b (diff)
Pull up `VCS.short_revision` from `VCS::SVN`
Notes: Merged: https://.com/ruby/ruby/pull/6473
-rw-r--r--tool/lib/vcs.rb8
1 files changed, 4 insertions, 4 deletions
@@ -104,6 +104,10 @@ class VCS
]
end
attr_reader :srcdir
def initialize(path)
@@ -251,10 +255,6 @@ class VCS
"r#{rev}"
end
- def self.short_revision(rev)
- rev
- end
-
def _get_revisions(path, srcdir = nil)
if srcdir and self.class.local_path?(path)
path = File.join(srcdir, path)