lib/qdumpfs/util.rb in qdumpfs-1.2.1 vs lib/qdumpfs/util.rb in qdumpfs-1.5.0
- old
+ new
@@ -169,11 +169,11 @@
else
if latest and File.real_file?(latest)
case File.ftype(src)
when "file"
same_file = same_file?(src, latest)
- # p "same_file? #{src} #{latest} result=#{same_file}"
+# puts "same_file? #{src} #{latest} result=#{same_file}"
if same_file
type = "unchanged"
else
type = "updated"
end
@@ -181,9 +181,10 @@
# the latest backup file is a real file but the
# current source file is changed to symlink.
type = "symlink"
end
else
+ # puts "latest=#{latest}"
case File.ftype(src)
when "file"
type = "new_file"
when "link"
type = "symlink"