WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
189081
Remove empty directories from from svn.webkit.org repository
https://bugs.webkit.org/show_bug.cgi?id=189081
Summary
Remove empty directories from from svn.webkit.org repository
David Kilzer (:ddkilzer)
Reported
2018-08-29 09:10:24 PDT
If git-svn users don't set `svn.rmdir = true`, git-svn will leave empty directories in the Subversion repository. I filed this bug to track how I removed them in case it's useful in the future.
Attachments
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2018-08-29 09:10:30 PDT
Here's one way to find and remove them "recursively" (except this doesn't work for directories with spaces in the name: $ for D in `find . -type d -and -not -name .svn | grep -v '/.svn'`; do if [ -z "`ls -A $D 2>&1`" ]; then echo ">>>> $D"; svn rm $D; fi; done | tee ../svn-WebKit-delete-empty-directories-01.txt
>>>> ./Tools/DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit
D Tools/DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders/WebKit
>>>> ./Tools/WebKitTestRunner/UIScriptContext/Bindings
D Tools/WebKitTestRunner/UIScriptContext/Bindings
>>>> ./Tools/WebKitTestRunner/WebKitTestRunnerApp/en.lproj
D Tools/WebKitTestRunner/WebKitTestRunnerApp/en.lproj
>>>> ./LayoutTests/vibration
D LayoutTests/vibration
>>>> ./LayoutTests/legacy-animation-engine/fullscreen
D LayoutTests/legacy-animation-engine/fullscreen
>>>> ./LayoutTests/indieui
D LayoutTests/indieui
>>>> ./LayoutTests/platform/ios-wk2/fast/preloader
D LayoutTests/platform/ios-wk2/fast/preloader
>>>> ./LayoutTests/platform/ios-wk2/fast/regions/auto-size
D LayoutTests/platform/ios-wk2/fast/regions/auto-size
>>>> ./LayoutTests/platform/ios-wk2/fast/compact
D LayoutTests/platform/ios-wk2/fast/compact
>>>> ./LayoutTests/platform/ios-wk2/fast/box-shadow
D LayoutTests/platform/ios-wk2/fast/box-shadow
>>>> ./LayoutTests/platform/ios-wk2/fast/reflections
D LayoutTests/platform/ios-wk2/fast/reflections
>>>> ./LayoutTests/platform/ios-wk2/fast/forms/file
D LayoutTests/platform/ios-wk2/fast/forms/file
>>>> ./LayoutTests/platform/ios-wk2/fast/forms/color
D LayoutTests/platform/ios-wk2/fast/forms/color
>>>> ./LayoutTests/platform/ios-wk2/fast/forms/datalist
D LayoutTests/platform/ios-wk2/fast/forms/datalist
>>>> ./LayoutTests/platform/ios-wk2/fast/forms/number
D LayoutTests/platform/ios-wk2/fast/forms/number
>>>> ./LayoutTests/platform/ios-wk2/fast/forms/select
D LayoutTests/platform/ios-wk2/fast/forms/select
>>>> ./LayoutTests/platform/ios-wk2/fast/forms/range
D LayoutTests/platform/ios-wk2/fast/forms/range
>>>> ./LayoutTests/platform/ios-wk2/fast/css/namespaces
D LayoutTests/platform/ios-wk2/fast/css/namespaces
>>>> ./LayoutTests/platform/ios-wk2/fast/css/counters
D LayoutTests/platform/ios-wk2/fast/css/counters
>>>> ./LayoutTests/platform/ios-wk2/fast/borders
D LayoutTests/platform/ios-wk2/fast/borders
>>>> ./LayoutTests/platform/ios-wk2/fast/inspector-support
D LayoutTests/platform/ios-wk2/fast/inspector-support
>>>> ./LayoutTests/platform/ios-wk2/fast/tokenizer
D LayoutTests/platform/ios-wk2/fast/tokenizer
>>>> ./LayoutTests/platform/ios-wk2/fast/replaced/vertical-lr
D LayoutTests/platform/ios-wk2/fast/replaced/vertical-lr
>>>> ./LayoutTests/platform/ios-wk2/fast/replaced/vertical-rl
D LayoutTests/platform/ios-wk2/fast/replaced/vertical-rl
>>>> ./LayoutTests/platform/ios-wk2/fast/fast-mobile-scrolling
D LayoutTests/platform/ios-wk2/fast/fast-mobile-scrolling
>>>> ./LayoutTests/platform/ios-wk2/fast/doctypes
D LayoutTests/platform/ios-wk2/fast/doctypes
>>>> ./LayoutTests/platform/ios-wk2/fast/line-grid
D LayoutTests/platform/ios-wk2/fast/line-grid
>>>> ./LayoutTests/platform/ios-wk2/fast/canvas
D LayoutTests/platform/ios-wk2/fast/canvas
>>>> ./LayoutTests/platform/ios-wk2/fast/backgrounds/repeat
D LayoutTests/platform/ios-wk2/fast/backgrounds/repeat
>>>> ./LayoutTests/platform/ios-wk2/fast/backgrounds/size
D LayoutTests/platform/ios-wk2/fast/backgrounds/size
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/HTMLTableColElement
D LayoutTests/platform/ios-wk2/fast/dom/HTMLTableColElement
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/HTMLTableElement
D LayoutTests/platform/ios-wk2/fast/dom/HTMLTableElement
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/HTMLInputElement
D LayoutTests/platform/ios-wk2/fast/dom/HTMLInputElement
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/Element
D LayoutTests/platform/ios-wk2/fast/dom/Element
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/Window
D LayoutTests/platform/ios-wk2/fast/dom/Window
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/HTMLHeadElement
D LayoutTests/platform/ios-wk2/fast/dom/HTMLHeadElement
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/HTMLImageElement
D LayoutTests/platform/ios-wk2/fast/dom/HTMLImageElement
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/HTMLObjectElement
D LayoutTests/platform/ios-wk2/fast/dom/HTMLObjectElement
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/HTMLProgressElement
D LayoutTests/platform/ios-wk2/fast/dom/HTMLProgressElement
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/Range
D LayoutTests/platform/ios-wk2/fast/dom/Range
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/HTMLLinkElement
D LayoutTests/platform/ios-wk2/fast/dom/HTMLLinkElement
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/HTMLElement
D LayoutTests/platform/ios-wk2/fast/dom/HTMLElement
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/HTMLDocument
D LayoutTests/platform/ios-wk2/fast/dom/HTMLDocument
>>>> ./LayoutTests/platform/ios-wk2/fast/dom/HTMLMeterElement
D LayoutTests/platform/ios-wk2/fast/dom/HTMLMeterElement
>>>> ./LayoutTests/platform/ios-wk2/fast/css3-text/css3-text-decoration
D LayoutTests/platform/ios-wk2/fast/css3-text/css3-text-decoration
>>>> ./LayoutTests/platform/ios-wk2/fast/multicol/span
D LayoutTests/platform/ios-wk2/fast/multicol/span
>>>> ./LayoutTests/platform/ios-wk2/fast/multicol/vertical-lr
D LayoutTests/platform/ios-wk2/fast/multicol/vertical-lr
>>>> ./LayoutTests/platform/ios-wk2/fast/text/firstline
D LayoutTests/platform/ios-wk2/fast/text/firstline
>>>> ./LayoutTests/platform/ios-wk2/fast/text/shaping
D LayoutTests/platform/ios-wk2/fast/text/shaping
>>>> ./LayoutTests/platform/ios-wk2/fast/events/touch/gesture
D LayoutTests/platform/ios-wk2/fast/events/touch/gesture
>>>> ./LayoutTests/platform/ios-wk2/fast/gradients
D LayoutTests/platform/ios-wk2/fast/gradients
>>>> ./LayoutTests/platform/ios-wk2/fast/body-propagation/background-color
D LayoutTests/platform/ios-wk2/fast/body-propagation/background-color
>>>> ./LayoutTests/platform/ios-wk2/fast/body-propagation/background-image
D LayoutTests/platform/ios-wk2/fast/body-propagation/background-image
>>>> ./LayoutTests/platform/ios-wk2/fast/box-sizing
D LayoutTests/platform/ios-wk2/fast/box-sizing
>>>> ./LayoutTests/platform/ios-wk2/fast/block/margin-collapse/block-inside-inline
D LayoutTests/platform/ios-wk2/fast/block/margin-collapse/block-inside-inline
>>>> ./LayoutTests/platform/ios-wk2/fast/block/positioning/auto/vertical-lr
D LayoutTests/platform/ios-wk2/fast/block/positioning/auto/vertical-lr
>>>> ./LayoutTests/platform/ios-wk2/fast/sub-pixel
D LayoutTests/platform/ios-wk2/fast/sub-pixel
>>>> ./LayoutTests/platform/ios-wk2/scrolling
D LayoutTests/platform/ios-wk2/scrolling
>>>> ./LayoutTests/platform/wk2/js/dom
D LayoutTests/platform/wk2/js/dom
>>>> ./LayoutTests/platform/wk2/storage/indexeddb
D LayoutTests/platform/wk2/storage/indexeddb
>>>> ./LayoutTests/platform/win/platform/win/accessibility
D LayoutTests/platform/win/platform/win/accessibility
>>>> ./LayoutTests/platform/win/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators
D LayoutTests/platform/win/sputnik/Conformance/11_Expressions/11.5_Multiplicative_Operators
>>>> ./LayoutTests/platform/win/editing/exeCommand
D LayoutTests/platform/win/editing/exeCommand
>>>> ./LayoutTests/platform/ios/fast/viewport/ios
D LayoutTests/platform/ios/fast/viewport/ios
>>>> ./LayoutTests/platform/ios/ios/fast/html
D LayoutTests/platform/ios/ios/fast/html
>>>> ./LayoutTests/platform/ios/ios/fast/events/touch/script-tests
D LayoutTests/platform/ios/ios/fast/events/touch/script-tests
>>>> ./LayoutTests/platform/ios/ios/scrolling/resources
D LayoutTests/platform/ios/ios/scrolling/resources
>>>> ./LayoutTests/platform/ios/ios/scrolling/script-tests
D LayoutTests/platform/ios/ios/scrolling/script-tests
>>>> ./LayoutTests/platform/mac/platform/mac/editing/input
D LayoutTests/platform/mac/platform/mac/editing/input
>>>> ./LayoutTests/platform/mac/platform/mac/accessibility
D LayoutTests/platform/mac/platform/mac/accessibility
>>>> ./LayoutTests/platform/mac/fast/forms/script-tests
D LayoutTests/platform/mac/fast/forms/script-tests
>>>> ./LayoutTests/platform/mac/fast/canvas/resources
D LayoutTests/platform/mac/fast/canvas/resources
>>>> ./LayoutTests/platform/mac/fast/scrolling/resources
D LayoutTests/platform/mac/fast/scrolling/resources
>>>> ./LayoutTests/platform/mac/fast/ruby/resources
D LayoutTests/platform/mac/fast/ruby/resources
>>>> ./LayoutTests/platform/mac/editing/input/resources
D LayoutTests/platform/mac/editing/input/resources
>>>> ./LayoutTests/platform/mac/editing/attributed-string/resources
D LayoutTests/platform/mac/editing/attributed-string/resources
>>>> ./LayoutTests/platform/mac/editing/dictionary-lookup
D LayoutTests/platform/mac/editing/dictionary-lookup
>>>> ./LayoutTests/platform/mac/editing/selection/script-tests
D LayoutTests/platform/mac/editing/selection/script-tests
>>>> ./LayoutTests/platform/mac/http/tests/usercontentfilter
D LayoutTests/platform/mac/http/tests/usercontentfilter
>>>> ./LayoutTests/platform/mac/accessibility/resources
D LayoutTests/platform/mac/accessibility/resources
>>>> ./LayoutTests/platform/mac/accessibility/select-text
D LayoutTests/platform/mac/accessibility/select-text
>>>> ./LayoutTests/platform/gtk/resources
D LayoutTests/platform/gtk/resources
>>>> ./LayoutTests/platform/gtk/editing/pasteboard/script-tests
D LayoutTests/platform/gtk/editing/pasteboard/script-tests
>>>> ./LayoutTests/platform/win-xp/svg/W3C-SVG-1.1-SE
D LayoutTests/platform/win-xp/svg/W3C-SVG-1.1-SE
>>>> ./LayoutTests/platform/win-xp/svg/W3C-I18N
D LayoutTests/platform/win-xp/svg/W3C-I18N
>>>> ./LayoutTests/platform/win-xp/svg/text
D LayoutTests/platform/win-xp/svg/text
>>>> ./LayoutTests/platform/win-xp/svg/custom
D LayoutTests/platform/win-xp/svg/custom
>>>> ./LayoutTests/platform/win-xp/fast/layers
D LayoutTests/platform/win-xp/fast/layers
>>>> ./LayoutTests/platform/win-xp/fast/dom
D LayoutTests/platform/win-xp/fast/dom
>>>> ./LayoutTests/platform/win-xp/fast/text/international
D LayoutTests/platform/win-xp/fast/text/international
>>>> ./LayoutTests/platform/win-xp/fast/events
D LayoutTests/platform/win-xp/fast/events
>>>> ./LayoutTests/platform/win-xp/editing/selection
D LayoutTests/platform/win-xp/editing/selection
>>>> ./LayoutTests/platform/win-xp/editing/deleting
D LayoutTests/platform/win-xp/editing/deleting
>>>> ./LayoutTests/platform/win-xp/transforms/2d
D LayoutTests/platform/win-xp/transforms/2d
>>>> ./LayoutTests/platform/win-xp/http/tests/inspector
D LayoutTests/platform/win-xp/http/tests/inspector
>>>> ./LayoutTests/platform/win-xp/media
D LayoutTests/platform/win-xp/media
>>>> ./LayoutTests/platform/mac-sierra/http/tests/ssl/applepay
D LayoutTests/platform/mac-sierra/http/tests/ssl/applepay
>>>> ./LayoutTests/platform/mac-wk2/js/dom
D LayoutTests/platform/mac-wk2/js/dom
>>>> ./LayoutTests/platform/mac-wk2/tiled-drawing/resources
D LayoutTests/platform/mac-wk2/tiled-drawing/resources
>>>> ./LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/resources
D LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap/resources
>>>> ./LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/sticky
D LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/sticky
>>>> ./LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/resources
D LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/resources
>>>> ./LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/resources
D LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames/resources
>>>> ./LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed
D LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed
>>>> ./LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/resources
D LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region/resources
>>>> ./LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background
D LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/fixed-background
>>>> ./LayoutTests/platform/mac-wk2/http/tests/plugins
D LayoutTests/platform/mac-wk2/http/tests/plugins
>>>> ./LayoutTests/platform/mac-sierra-wk2/js/dom
D LayoutTests/platform/mac-sierra-wk2/js/dom
>>>> ./LayoutTests/platform/mac-mojave
D LayoutTests/platform/mac-mojave
>>>> ./LayoutTests/proximity/resources
D LayoutTests/proximity/resources
>>>> ./LayoutTests/css3/filters/backdrop/script-tests
D LayoutTests/css3/filters/backdrop/script-tests
>>>> ./LayoutTests/css3/filters/script-tests
D LayoutTests/css3/filters/script-tests
>>>> ./Source/WebInspectorUI/WebInspectorUI.esproj
D Source/WebInspectorUI/WebInspectorUI.esproj
>>>> ./Source/WebCore/Modules/proximity
D Source/WebCore/Modules/proximity
>>>> ./Source/ThirdParty/ANGLE/src/angle.xcodeproj
D Source/ThirdParty/ANGLE/src/angle.xcodeproj
>>>> ./Source/ThirdParty/ANGLE/src/common/third_party/numerics/base/numerics
D Source/ThirdParty/ANGLE/src/common/third_party/numerics/base/numerics
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/system_wrappers/test
D Source/ThirdParty/libwebrtc/Source/webrtc/system_wrappers/test
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/test/testsupport/mac
D Source/ThirdParty/libwebrtc/Source/webrtc/test/testsupport/mac
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/modules/audio_conference_mixer/include
D Source/ThirdParty/libwebrtc/Source/webrtc/modules/audio_conference_mixer/include
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/modules/remote_bitrate_estimator/include/mock
D Source/ThirdParty/libwebrtc/Source/webrtc/modules/remote_bitrate_estimator/include/mock
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/voice_engine/mock
D Source/ThirdParty/libwebrtc/Source/webrtc/voice_engine/mock
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/base/java/src/org/webrtc
D Source/ThirdParty/libwebrtc/Source/webrtc/base/java/src/org/webrtc
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/base/numerics
D Source/ThirdParty/libwebrtc/Source/webrtc/base/numerics
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/media/devices
D Source/ThirdParty/libwebrtc/Source/webrtc/media/devices $ for D in `find . -type d -and -not -name .svn | grep -v '/.svn'`; do if [ -z "`ls -A $D 2>&1`" ]; then echo ">>>> $D"; svn rm $D; fi; done | tee ../svn-WebKit-delete-empty-directories-02.txt
>>>> ./Tools/DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders
D Tools/DumpRenderTree/TestNetscapePlugIn/unix/ForwardingHeaders
>>>> ./Tools/WebKitTestRunner/UIScriptContext
D Tools/WebKitTestRunner/UIScriptContext
>>>> ./LayoutTests/platform/ios-wk2/fast/backgrounds
D LayoutTests/platform/ios-wk2/fast/backgrounds
>>>> ./LayoutTests/platform/ios-wk2/fast/css3-text
D LayoutTests/platform/ios-wk2/fast/css3-text
>>>> ./LayoutTests/platform/ios-wk2/fast/events/touch
D LayoutTests/platform/ios-wk2/fast/events/touch
>>>> ./LayoutTests/platform/wk2/js
D LayoutTests/platform/wk2/js
>>>> ./LayoutTests/platform/wk2/storage
D LayoutTests/platform/wk2/storage
>>>> ./LayoutTests/platform/win/sputnik/Conformance/11_Expressions
D LayoutTests/platform/win/sputnik/Conformance/11_Expressions
>>>> ./LayoutTests/platform/ios/fast/viewport
D LayoutTests/platform/ios/fast/viewport
>>>> ./LayoutTests/platform/ios/ios/scrolling
D LayoutTests/platform/ios/ios/scrolling
>>>> ./LayoutTests/platform/mac/platform/mac/editing
D LayoutTests/platform/mac/platform/mac/editing
>>>> ./LayoutTests/platform/mac/editing/attributed-string
D LayoutTests/platform/mac/editing/attributed-string
>>>> ./LayoutTests/platform/win-xp/svg
D LayoutTests/platform/win-xp/svg
>>>> ./LayoutTests/platform/win-xp/fast/text
D LayoutTests/platform/win-xp/fast/text
>>>> ./LayoutTests/platform/win-xp/editing
D LayoutTests/platform/win-xp/editing
>>>> ./LayoutTests/platform/win-xp/transforms
D LayoutTests/platform/win-xp/transforms
>>>> ./LayoutTests/platform/win-xp/http/tests
D LayoutTests/platform/win-xp/http/tests
>>>> ./LayoutTests/platform/mac-sierra/http/tests/ssl
D LayoutTests/platform/mac-sierra/http/tests/ssl
>>>> ./LayoutTests/platform/mac-wk2/js
D LayoutTests/platform/mac-wk2/js
>>>> ./LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap
D LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/scroll-snap
>>>> ./LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames
D LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/frames
>>>> ./LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region
D LayoutTests/platform/mac-wk2/tiled-drawing/scrolling/non-fast-region
>>>> ./LayoutTests/platform/mac-sierra-wk2/js
D LayoutTests/platform/mac-sierra-wk2/js
>>>> ./LayoutTests/proximity
D LayoutTests/proximity
>>>> ./Source/ThirdParty/ANGLE/src/common/third_party/numerics/base
D Source/ThirdParty/ANGLE/src/common/third_party/numerics/base
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/modules/audio_conference_mixer
D Source/ThirdParty/libwebrtc/Source/webrtc/modules/audio_conference_mixer
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/voice_engine
D Source/ThirdParty/libwebrtc/Source/webrtc/voice_engine
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/base/java/src/org
D Source/ThirdParty/libwebrtc/Source/webrtc/base/java/src/org $ for D in `find . -type d -and -not -name .svn | grep -v '/.svn'`; do if [ -z "`ls -A $D 2>&1`" ]; then echo ">>>> $D"; svn rm $D; fi; done | tee ../svn-WebKit-delete-empty-directories-03.txt
>>>> ./Tools/DumpRenderTree/TestNetscapePlugIn/unix
D Tools/DumpRenderTree/TestNetscapePlugIn/unix
>>>> ./LayoutTests/platform/win/sputnik/Conformance
D LayoutTests/platform/win/sputnik/Conformance
>>>> ./LayoutTests/platform/win-xp/fast
D LayoutTests/platform/win-xp/fast
>>>> ./LayoutTests/platform/win-xp/http
D LayoutTests/platform/win-xp/http
>>>> ./LayoutTests/platform/mac-wk2/tiled-drawing/scrolling
D LayoutTests/platform/mac-wk2/tiled-drawing/scrolling
>>>> ./Source/ThirdParty/ANGLE/src/common/third_party/numerics
D Source/ThirdParty/ANGLE/src/common/third_party/numerics
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/base/java/src
D Source/ThirdParty/libwebrtc/Source/webrtc/base/java/src $ for D in `find . -type d -and -not -name .svn | grep -v '/.svn'`; do if [ -z "`ls -A $D 2>&1`" ]; then echo ">>>> $D"; svn rm $D; fi; done | tee ../svn-WebKit-delete-empty-directories-04.txt
>>>> ./LayoutTests/platform/win/sputnik
D LayoutTests/platform/win/sputnik
>>>> ./LayoutTests/platform/win-xp
D LayoutTests/platform/win-xp
>>>> ./LayoutTests/platform/mac-wk2/tiled-drawing
D LayoutTests/platform/mac-wk2/tiled-drawing
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/base/java
D Source/ThirdParty/libwebrtc/Source/webrtc/base/java $ for D in `find . -type d -and -not -name .svn | grep -v '/.svn'`; do if [ -z "`ls -A $D 2>&1`" ]; then echo ">>>> $D"; svn rm $D; fi; done | tee ../svn-WebKit-delete-empty-directories-05.txt
>>>> ./Source/ThirdParty/libwebrtc/Source/webrtc/base
D Source/ThirdParty/libwebrtc/Source/webrtc/base $ for D in `find . -type d -and -not -name .svn | grep -v '/.svn'`; do if [ -z "`ls -A $D 2>&1`" ]; then echo ">>>> $D"; svn rm $D; fi; done | tee ../svn-WebKit-delete-empty-directories-06.txt $
David Kilzer (:ddkilzer)
Comment 2
2018-08-29 09:16:39 PDT
$ svn revert LayoutTests/platform/mac-mojave Reverted 'LayoutTests/platform/mac-mojave' This is referenced in Tools/Scripts/webkitpy/port/mac_unittest.py. Probably should have an empty .gitignore file to keep the directory around. -- $ svn revert Tools/WebKitTestRunner/WebKitTestRunnerApp/en.lproj Reverted 'Tools/WebKitTestRunner/WebKitTestRunnerApp/en.lproj' I suspect this isn't used since the directory is empty, but I didn't want to remove it if Xcode needs it there. -- The rest will be removed.
David Kilzer (:ddkilzer)
Comment 3
2018-08-29 09:18:18 PDT
Note that svn-create-patch doesn't have a way to represent the removal of directories, so this change has no patch to review! $ ./Tools/Scripts/svn-create-patch Ignoring untracked file: 'svn-add-empty-file.diff' Ignoring untracked file: 'svn-delete-empty-file.diff' Ignoring untracked file: 'svn-rename-empty-file.diff' $
David Kilzer (:ddkilzer)
Comment 4
2018-08-29 09:20:35 PDT
(In reply to David Kilzer (:ddkilzer) from
comment #3
)
> Note that svn-create-patch doesn't have a way to represent the removal of > directories, so this change has no patch to review! > > $ ./Tools/Scripts/svn-create-patch > Ignoring untracked file: 'svn-add-empty-file.diff' > Ignoring untracked file: 'svn-delete-empty-file.diff' > Ignoring untracked file: 'svn-rename-empty-file.diff' > $
Well, I could post the ChangeLogs for review. :|
David Kilzer (:ddkilzer)
Comment 5
2018-08-29 09:26:00 PDT
Committed
r235462
: <
https://trac.webkit.org/changeset/235462
>
Radar WebKit Bug Importer
Comment 6
2018-08-29 09:26:18 PDT
<
rdar://problem/43844967
>
Jonathan Bedard
Comment 7
2018-08-29 10:00:29 PDT
(In reply to David Kilzer (:ddkilzer) from
comment #2
)
> $ svn revert LayoutTests/platform/mac-mojave > Reverted 'LayoutTests/platform/mac-mojave' > > This is referenced in Tools/Scripts/webkitpy/port/mac_unittest.py. > > Probably should have an empty .gitignore file to keep the directory around. > > --
One of the bot watchers probably committed that one fairly recently when gardening tests. It is safe to remove (webkitpy is smart enough to do the right thing when it isn't there) but, it will also likely be used in the immediate future.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug