File: 0003-fix-File-exists.patch

package info (click to toggle)
svn2git 2.4.0-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: ruby: 406; makefile: 4
file content (18 lines) | stat: -rw-r--r-- 506 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix 1100387

Author: Abhijith PA <abhijith@debian.org>
Bug-Debian: https://bugs.debian.org/1100387
Forwarded: no
Last-Update: 2025-04-08

--- a/lib/svn2git/migration.rb
+++ b/lib/svn2git/migration.rb
@@ -55,7 +55,7 @@ module Svn2Git
       options[:password] = nil
       options[:rebasebranch] = false
 
-      if File.exists?(File.expand_path(DEFAULT_AUTHORS_FILE))
+      if File.exist?(File.expand_path(DEFAULT_AUTHORS_FILE))
         options[:authors] = DEFAULT_AUTHORS_FILE
       end