Your message dated Fri, 24 Oct 2014 03:52:48 +0000
with message-id <[email protected]>
and subject line Bug#702685: fixed in myrepos 1.20141023
has caused the Debian Bug report #702685,
regarding mr: add a mr clean command
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
702685: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702685
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mr
Severity: wishlist
Tags: patch
Usertags: sentpatch
I sometimes want to run git clean -dxf to get rid of ignored and
untracked files. So, I added that to my personal config, but I think
this would be useful for other folks so I've attached a patch adding
this capability for other VCSen.
--
bye,
pabs
http://wiki.debian.org/PaulWise
From e508e60a1d4b11ba66c7830a221acd07cf62634b Mon Sep 17 00:00:00 2001
From: Paul Wise <[email protected]>
Date: Sun, 10 Mar 2013 14:21:03 +0800
Subject: [PATCH] Add a clean command that works like git clean -dxf where
possible
---
debian/changelog | 1 +
debian/control | 2 +-
mr | 18 ++++++++++++++++++
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index e9a3688..66a1fc9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
mr (1.15) unstable; urgency=low
+ * Add a clean command that works like git clean -dxf where possible
* When in quiet mode, do not show messages about skipping undefined commands
* Make quiet mode show output if there is some. Closes: #694031
* Pass a fake terminal to subcommands when mr is run in a terminal
diff --git a/debian/control b/debian/control
index 2700380..9562429 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Package: mr
Architecture: all
Section: vcs
Depends: ${misc:Depends}
-Suggests: subversion, git-core | git (>= 1:1.7), cvs, bzr, mercurial, darcs, fossil, vcsh, liburi-perl, curl
+Suggests: subversion, subversion-tools, git-core | git (>= 1:1.7), cvs, kdesdk-scripts, bzr, mercurial, darcs, fossil, vcsh, liburi-perl, curl
Recommends: libwww-perl, libio-pty-easy-perl, libhtml-parser-perl, perl
Description: Multiple Repository management tool
The mr(1) command can checkout, update, or perform other actions on
diff --git a/mr b/mr
index 1696c44..ec58b8b 100755
--- a/mr
+++ b/mr
@@ -12,6 +12,8 @@ B<mr> [options] update
B<mr> [options] status
+B<mr> [options] clean
+
B<mr> [options] commit [-m "message"]
B<mr> [options] record [-m "message"]
@@ -78,6 +80,13 @@ Displays a status report for each repository, showing what
uncommitted changes are present in the repository. For distributed version
control systems, also shows unpushed local branches.
+=item clean
+
+Delete ignored files, untracked files and other cruft from the working
+directory. For most VCS, this will print the files that are being removed.
+Depending on the VCS, there may be an option to only print the filenames
+to be removed instead of removing them.
+
=item commit (or ci)
Commits changes to each repository. (By default, changes are pushed to the
@@ -1937,6 +1946,15 @@ git_svn_fetch = git svn fetch
darcs_fetch = darcs fetch
hg_fetch = hg pull
+svn_clean = svn-clean
+git_clean = git clean -dx --force "$@"
+git_svn_clean = git clean -dx --force "$@"
+bzr_clean = bzr clean-tree --verbose --force --ignored --unknown --detritus "$@"
+cvs_clean = cvs-clean
+hg_clean = hg purge --all "$@"
+fossil_clean = fossil clean --force --dotfiles --temp "$@"
+vcsh_commit = vcsh run "$MR_REPO" git clean -dx --force "$@"
+
svn_status = svn status "$@"
git_status = git status -s "$@" || true; git --no-pager log --branches --not --remotes --simplify-by-decoration --decorate --oneline || true
bzr_status = bzr status --short "$@"; bzr missing
--
1.8.2.rc3
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
Source: myrepos
Source-Version: 1.20141023
We believe that the bug you reported is fixed in the latest version of
myrepos, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joey Hess <[email protected]> (supplier of updated myrepos package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 23 Oct 2014 22:17:25 -0400
Source: myrepos
Binary: myrepos
Architecture: source all
Version: 1.20141023
Distribution: unstable
Urgency: medium
Maintainer: Joey Hess <[email protected]>
Changed-By: Joey Hess <[email protected]>
Description:
myrepos - tool to manage all your version control repos
Closes: 702685
Changes:
myrepos (1.20141023) unstable; urgency=medium
.
* Add darcs grep command using ack-grep.
Thanks, Paul Wise.
* Add a clean command.
Thanks, Paul Wise. Closes: #702685
Checksums-Sha1:
f469cc397d248ece0d49f353fff7ee2fb1b57429 1515 myrepos_1.20141023.dsc
8b6972f04d7690d83884072dfd2c5a141b2b98d5 44890 myrepos_1.20141023.tar.gz
210c1269356cdd828ff0c814f53a16e08c6f00d1 45554 myrepos_1.20141023_all.deb
Checksums-Sha256:
c6f90662759fe7220b62b651171f8b43cf7351aa6176767f4697eca6ab5e7c04 1515
myrepos_1.20141023.dsc
60a05da5530331d63c5f09d103a36ac0b4b9b7ffcb5b6fcf96ba29ab328ba9d2 44890
myrepos_1.20141023.tar.gz
cdd36c6b85d9dfd6c87a66ad7e2ac5b34f722e61bce56e2b559e313d8bc2c197 45554
myrepos_1.20141023_all.deb
Files:
17c65b4c43f01fd0923ca9a556db859a 1515 vcs optional myrepos_1.20141023.dsc
8028debb2202ca053d5c7607f655f6c6 44890 vcs optional myrepos_1.20141023.tar.gz
179a2fbca22d8c92a57a67fa0243b7ca 45554 vcs optional myrepos_1.20141023_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUBVEm3gskQ2SIlEuPHAQJ5rxAAipeQhCipBAErhFYFdHEY/n7p1yXGLoy3
Zr6EVJ9IvBkrToZ5XlwSwuVHjZCzF4ecyO9qz88bi2ebr9nyPWihk/yzkHpawE3K
3talYgxi5SH0xb+JeWPb3vCl/h1Txj300Jog9rhueVmBUz3XwWtKk6xhxYMPHcmw
Q+A8925ihymrhDAa79i43gcEf+dZmak2Hl4is4wurN5Thj8dBqjWU63It3rVdmGO
+2NX32P3pptKlS2pDAb9tbu1pLpgwpZbZJFJlnCrmeIHZDTSgDECEMu7tYrNCu8K
y5cmbJQarbhmZ/r78syqUfP1G10gPGrCbe5htJ/vrFljFvpUNVCnZVnobKGAFVrI
Yjewfkj6Z6pguOFkSvE+uIgrmMCvcidiLpNSKk11Ynypoua/DUopoxu7fKMyfTk7
y/U1jFuAAifhHLeTm++pkTnS5R1jCO3vJD4vb23L6V9gtGUHJaJPYdbcfUD49p6i
gOviJXCmsmjQoRJFipN/ru6HIyjhhne8t3qEtDStPqgs2+A5/cUiqSJo4FHAeaP4
RyaR6KoAydK+1/bnfvnGh3ejzielwo2w3QxZT9yyLutFua6o+sDFvsWoiaya/Rf6
dAKPjcEVlAuTf7IMKfcSTRNQ8Ym6cvVpJC+2lwYWSp94mCuYvJPBwC1IrmyhsWXU
IIMepYP8r/c=
=nweD
-----END PGP SIGNATURE-----
--- End Message ---