持续更新……
使用过程中问题:(工具:Version 1.0.9)
1. SVN won't import *.a library :
往repository里面上传.a文件的时候,传不上去。但是将library.a换成library.b,the add works。
A.原因:svn客户端设置问题(也有可能是服务器设置问题,类似客户端这样)。
解决:1.svn软件配置user's Subversion config file位置:
~/.subversion/config or /etc/subversion/config //for Mac/Linux
%appdata%\subversion\config // for Windows
2.修改.subbersion/config 文件里面的设置,将.a类型去掉。
global-ignores = *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo
说明:一种现象是#global-ignores默认是注释的,按理说它不起作用,但是将改行注释去掉后,并且去掉*.a*后,问题解决了。
B.可以用svn命令,导入文件的时候,用命令:svn add "file" --no-ignore 即:svn add library.a --no-ignore
2. SVN删除、添加文件:
在磁盘上移动Target.plist 文件,version工具界面中 该文件 前显示“虚问号”,表示本地work copy base跟修改中的work copy 对比,发现文件丢失, 在version界面中不能对该文件commit等操作,先要进行“delete”操作,删除work copy中文件, 然后才能commit操作。删除类似。
往项目中添加一个文件(夹),或者移动一个文件到该svn管理目录下, 则version 界面显示 “实心问号”,表示本地workcopy base跟修改中的workcopy对比,发现不识别文件,在version界面中 不能 对该文件(夹)commit等操作,先要“add”操作,将文件添加到work copy,然后才能commit操作。
3. SVN重命名文件:
当你对一个文件重命名后,类似删除、添加文件操作,例:文件ABC.h重命名为DEF.h,则在version工具页面中,ABC.h前显示“虚问号”,DEF.h前显示 “实心问号”,相关操作类似删除、添加文件,先删除/添加,在commit。
4. xcode工程文件.xcodeproj冲突,打不开,提示: xxx..xcodeproj cannot be opened because the project file cannot be parsed:
1.对.xcodeproj 文件右键,显示包内容
2.双击打开 project.pbxproj 文件
3.找到以上类似的冲突信息
4.删除 <<<<<<<,======,>>>>>>这些行
5.保存,退出
6.重新打开.xcodeproj文件即可;
7.在svn工具中将.xcodproj文件Mark As Resolved;
5.mac svn命令行中提示错误:使用 -m "message" 即可
Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options
6. mac svn命令行冲突发生:
说明:1.更新workcopy文件,有文件BQSetting.h冲突(注意这时候,本地的冲突的文件还是原来的文件,还不是冲突的状态)。根据不同的操作可解决冲突;
2.如果选择postpone选项,那么就是冲突延后处理,这时本地的文件更新到“冲突状态”。BQSetting.h文件状态变为C;
3.文件的冲突状态就用各种解决冲突的手段去解决(见文章四)。
U Beequick/Utility/BQUserLocation.m
Conflict discovered in '/Users/lijie/Documents/ConsumerApp/Beequick/Utility/BQSetting.h'.
Select: (p) postpone, (df) diff-full, (e) edit,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options: e
None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found
Select: (p) postpone, (df) diff-full, (e) edit,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options: df
--- /Users/lijie/Documents/ConsumerApp/.svn/pristine/53/53ba3c9c8c8ac69ce07d7e11b3adaf156b54f312.svn-base Thu Dec 18 17:30:38 2014
+++ /Users/lijie/Documents/ConsumerApp/.svn/tmp/BQSetting.h.tmp Wed Dec 24 18:38:18 2014
@@ -17,23 +17,38 @@
// 说明,所有配置从服务器获取,如果某配置为0/nil,说明该配置不起作用(没有该配置)
+
+@property(nonatomic)int deliveryShopID;
+@property(nonatomic,strong)BQDealer *dealer;
+
+@property(nonatomic,strong)NSMutableArray *deliveryCitys; // 能够配送的城市;
+@property(nonatomic,strong)NSMutableDictionary *deliveryDayHourStoreDic; // 配送时间缓存字典;
+
+
+
//生成logid
-(void)createLogId;
//geter logid
@property(nonatomic,strong)NSString *logId;
//渠道ID
@property(nonatomic,strong)NSString *channelId;
+<<<<<<< .mine
@property(nonatomic)int deliveryShopID;
@property(nonatomic,strong)BQDealer *dealer;
@property(nonatomic,strong)NSMutableArray *deliveryCitys; // 能够配送的城市;
-@property(nonatomic,strong)NSMutableDictionary *deliveryDayHourStoreDic; // 配送时间缓存字典;
+@property(nonatomic,strong)NSMutableDictionary *deliveryDayHourStoreDic; // 配送时间缓存字典,超过半小时清空;
+=======
+>>>>>>> .r1122
//程序即将退到后台的时间
@property(nonatomic,strong)NSDate *willResignActiveDate;
//程序即将退到后台用户定位的位置
@property(nonatomic,strong)CLLocation *willResignActiveLocation;
+//传给js的数据
+@property(nonatomic,strong)NSDictionary *nativeInfoDictionary;
+//zchtauth
+@property(nonatomic,strong)NSString *zchtauth;
-
@property(nonatomic,strong)NSMutableArray *deliveryAddress;// 用户收货地址{上次获取时间 +配送地址数组}
- (void)updateDeliveryAddress:(BQUserAddress *)address modifyWay:(int)modifyWay; //0 del,1 add 2 update
Select: (p) postpone, (df) diff-full, (e) edit, (r) resolved,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options: p
C Beequick/Utility/BQSetting.h
G Beequick/Utility/BQSetting.m
U Beequick/Utility/BQAppLog.m
Updated to revision 1122.
Summary of conflicts:
Text conflicts: 1
8.svn 旧版本升级:
localhost:merchat_app lijie$ svn st
svn: E155036: Please see the 'svn upgrade' command
svn: E155036: Working copy '/Users/lijie/Documents/merchat_app' is too old (format 10, created by Subversion 1.6)
localhost:merchat_app lijie$ svn upgrade help
svn: E155019: Can't upgrade '/Users/lijie/Documents/merchat_app/help' as it is not a pre-1.7 working copy directory
svn: E000002: Can't open file '/Users/lijie/Documents/merchat_app/help/.svn/entries': No such file or directory
localhost:zcht lijie$ svn upgrade
svn: E155019: Can't upgrade '/Users/lijie/Documents/merchat_app/zcht/zcht' as it is not a pre-1.7 working copy root, the root is '/Users/lijie/Documents/merchat_app'
……
localhost:merchat_app lijie$ svn upgrade
Upgraded '.'
……